mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
don't use d3d9 on wine
This commit is contained in:
parent
0976e87304
commit
4ed8eed654
@ -1225,7 +1225,7 @@ HRESULT WINAPI DirectDrawCreate(GUID FAR* lpGUID, LPDIRECTDRAW FAR* lplpDD, IUnk
|
|||||||
DWORD minor = (DWORD)(HIBYTE(LOWORD(version)));
|
DWORD minor = (DWORD)(HIBYTE(LOWORD(version)));
|
||||||
BOOL useDirect3D = FALSE;
|
BOOL useDirect3D = FALSE;
|
||||||
|
|
||||||
if (major < 6 || (major == 6 && minor <= 1))
|
if (!This->wine && (major < 6 || (major == 6 && minor <= 1)))
|
||||||
{
|
{
|
||||||
BOOL dwmEnabled = TRUE;
|
BOOL dwmEnabled = TRUE;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user