diff options
author | Alexander Larsson <alexl@redhat.com> | 2010-08-23 15:18:10 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2010-08-23 15:18:10 +0200 |
commit | da7f343123bca38a1f1beb2facd2be622fe1bdbc (patch) | |
tree | b632fc0cf8d48ec6b90cfde933e6226b6e6aa115 /display/surface.c | |
parent | 84bc7af08210a97abc486a662a138a41cf664319 (diff) |
Add union to SurfaceInfo to put in next_free pointer
Diffstat (limited to 'display/surface.c')
-rw-r--r-- | display/surface.c | 2 |
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); |