Improve D3D7 compatibility.
This commit is contained in:
parent
2616b57533
commit
7e51de6ea7
|
@ -4091,7 +4091,7 @@ static void fill_caps(void)
|
|||
D3DDEVCAPS_EXECUTEVIDEOMEMORY | D3DDEVCAPS_FLOATTLVERTEX | D3DDEVCAPS_TEXTURENONLOCALVIDMEM | D3DDEVCAPS_TEXTURESYSTEMMEMORY |
|
||||
D3DDEVCAPS_TEXTUREVIDEOMEMORY | D3DDEVCAPS_TLVERTEXSYSTEMMEMORY | D3DDEVCAPS_TLVERTEXVIDEOMEMORY |
|
||||
/* D3D 7 capabilities */
|
||||
D3DDEVCAPS_DRAWPRIMITIVES2 | D3DDEVCAPS_HWTRANSFORMANDLIGHT | D3DDEVCAPS_HWRASTERIZATION;
|
||||
D3DDEVCAPS_DRAWPRIMITIVES2 /*| D3DDEVCAPS_HWTRANSFORMANDLIGHT*/ | D3DDEVCAPS_HWRASTERIZATION | D3DDEVCAPS_DRAWPRIMITIVES2EX;
|
||||
fill_opengl_primcaps(&(opengl_device_caps.dpcLineCaps));
|
||||
fill_opengl_primcaps(&(opengl_device_caps.dpcTriCaps));
|
||||
opengl_device_caps.dwDeviceRenderBitDepth = DDBD_16|DDBD_24|DDBD_32;
|
||||
|
|
Loading…
Reference in New Issue