summaryrefslogtreecommitdiff
path: root/display/surface.c
diff options
context:
space:
mode:
Diffstat (limited to 'display/surface.c')
-rw-r--r--display/surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/display/surface.c b/display/surface.c
index d9fc6f4..54e0d0c 100644
--- a/display/surface.c
+++ b/display/surface.c
@@ -119,7 +119,7 @@ HBITMAP CreateDeviceBitmap(PDev *pdev, SIZEL size, ULONG format, QXLPHYSICAL *ph
goto out_error2;
}
- GetSurfaceInfo(pdev, surface_id)->pdev = pdev;
+ GetSurfaceInfo(pdev, surface_id)->u.pdev = pdev;
QXLGetSurface(pdev, phys_mem, size.cx, size.cy, depth,
&stride, base_mem, allocation_type);