summaryrefslogtreecommitdiff
path: root/display/surface.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-08-23 15:18:10 +0200
committerAlexander Larsson <alexl@redhat.com>2010-08-23 15:18:10 +0200
commitda7f343123bca38a1f1beb2facd2be622fe1bdbc (patch)
treeb632fc0cf8d48ec6b90cfde933e6226b6e6aa115 /display/surface.h
parent84bc7af08210a97abc486a662a138a41cf664319 (diff)
Add union to SurfaceInfo to put in next_free pointer
Diffstat (limited to 'display/surface.h')
-rw-r--r--display/surface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/display/surface.h b/display/surface.h
index dfda502..5504793 100644
--- a/display/surface.h
+++ b/display/surface.h
@@ -7,7 +7,7 @@ static _inline UINT32 GetSurfaceIdFromInfo(SurfaceInfo *info)
{
PDev *pdev;
- pdev = info->pdev;
+ pdev = info->u.pdev;
if (info == &pdev->surface0_info) {
return 0;
}