mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
fix ddsCaps
This commit is contained in:
parent
283295a5c9
commit
bdb249058a
13
src/dd.c
13
src/dd.c
@ -448,7 +448,18 @@ HRESULT dd_GetCaps(LPDDCAPS_DX1 lpDDDriverCaps, LPDDCAPS_DX1 lpDDEmulCaps)
|
|||||||
|
|
||||||
lpDDDriverCaps->dwVidMemTotal = 16777216;
|
lpDDDriverCaps->dwVidMemTotal = 16777216;
|
||||||
lpDDDriverCaps->dwVidMemFree = 16777216;
|
lpDDDriverCaps->dwVidMemFree = 16777216;
|
||||||
lpDDDriverCaps->ddsCaps.dwCaps = DDSCAPS_FLIP;
|
|
||||||
|
lpDDDriverCaps->ddsCaps.dwCaps =
|
||||||
|
DDSCAPS_BACKBUFFER |
|
||||||
|
DDSCAPS_COMPLEX |
|
||||||
|
DDSCAPS_FLIP |
|
||||||
|
DDSCAPS_FRONTBUFFER |
|
||||||
|
DDSCAPS_OFFSCREENPLAIN |
|
||||||
|
DDSCAPS_PRIMARYSURFACE |
|
||||||
|
DDSCAPS_VIDEOMEMORY |
|
||||||
|
DDSCAPS_OWNDC |
|
||||||
|
DDSCAPS_LOCALVIDMEM |
|
||||||
|
DDSCAPS_NONLOCALVIDMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lpDDEmulCaps)
|
if (lpDDEmulCaps)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user