diff options
Diffstat (limited to 'display/qxldd.h')
-rw-r--r-- | display/qxldd.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/display/qxldd.h b/display/qxldd.h index 868a1a9..7c5b6ec 100644 --- a/display/qxldd.h +++ b/display/qxldd.h @@ -169,10 +169,14 @@ typedef struct DrawArea { UINT8 *base_mem; } DrawArea; -typedef struct SurfaceInfo { +typedef struct SurfaceInfo SurfaceInfo; +struct SurfaceInfo { DrawArea draw_area; - PDev *pdev; -} SurfaceInfo; + union { + PDev *pdev; + SurfaceInfo *next_free; + } u; +}; typedef struct DevRes { MspaceInfo mspaces[NUM_MSPACES]; |