From 0a6c272766674d08b70c5ec785292338c2509c44 Mon Sep 17 00:00:00 2001 From: Christian Costa Date: Sat, 30 Nov 2002 19:29:20 +0000 Subject: [PATCH] Add D3D capability. --- dlls/ddraw/d3ddevice/mesa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ddraw/d3ddevice/mesa.c b/dlls/ddraw/d3ddevice/mesa.c index 0d5b95c334e..329b7b2c945 100644 --- a/dlls/ddraw/d3ddevice/mesa.c +++ b/dlls/ddraw/d3ddevice/mesa.c @@ -180,7 +180,7 @@ static void fill_opengl_caps(D3DDEVICEDESC *d1) d1->dlcLightingCaps.dwNumLights = 16; /* glGetIntegerv(GL_MAX_LIGHTS, &maxlight); d1->dlcLightingCaps.dwNumLights = maxlight; */ fill_opengl_primcaps(&(d1->dpcLineCaps)); fill_opengl_primcaps(&(d1->dpcTriCaps)); - d1->dwDeviceRenderBitDepth = DDBD_16; + d1->dwDeviceRenderBitDepth = DDBD_16|DDBD_24; d1->dwDeviceZBufferBitDepth = DDBD_16; d1->dwMaxBufferSize = 0; d1->dwMaxVertexCount = 65536;