From 587690ffdd157a27f542b412d7c228cef75c257a Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Mon, 15 Oct 2001 01:16:17 +0000 Subject: [PATCH] fix build break --- panda/src/dxgsg/dxGraphicsStateGuardian.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/panda/src/dxgsg/dxGraphicsStateGuardian.cxx b/panda/src/dxgsg/dxGraphicsStateGuardian.cxx index 5c85eebc3e..8217afdbf0 100644 --- a/panda/src/dxgsg/dxGraphicsStateGuardian.cxx +++ b/panda/src/dxgsg/dxGraphicsStateGuardian.cxx @@ -785,9 +785,10 @@ dx_init( LPDIRECTDRAW7 context, dxgsg_cat.debug() << "error, invalid value for dx-force-backface-culling\n"; } } -#endif - _d3dDevice->SetRenderState(D3DRENDERSTATE_CULLMODE, dx_force_backface_culling); +#else + _d3dDevice->SetRenderState(D3DRENDERSTATE_CULLMODE, D3DCULL_NONE); +#endif _alpha_func = D3DCMP_ALWAYS; _alpha_func_ref = 0;