From 3a13233cb4cb8adb6981758f161d71864891783a Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Fri, 22 Jun 2001 23:37:45 +0000 Subject: [PATCH] fix faults by removing DrawPrimStrided geom codepath --- panda/src/dxgsg/dxGraphicsStateGuardian.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/panda/src/dxgsg/dxGraphicsStateGuardian.cxx b/panda/src/dxgsg/dxGraphicsStateGuardian.cxx index a16fa9a557..3feba87d42 100644 --- a/panda/src/dxgsg/dxGraphicsStateGuardian.cxx +++ b/panda/src/dxgsg/dxGraphicsStateGuardian.cxx @@ -51,8 +51,10 @@ TypeHandle DXGraphicsStateGuardian::_type_handle; // and so I dont have to write code that reallocs light arrays #define DXGSG_MAX_LIGHTS 8 -// debugging-only flag to test non-optimized general geom pipe for all models -//#define DONT_USE_DRAWPRIMSTRIDED +// test non-optimized general geom pipe for all models +// apparently DPStrided faults for some color G_OVERALL cases, so comment out for now +// not clear that it is actually faster in practice, it may even be slightly slower +#define DONT_USE_DRAWPRIMSTRIDED static D3DMATRIX matIdentity;