summaryrefslogtreecommitdiff
path: root/display/surface.h
diff options
context:
space:
mode:
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;
}