From 47e094a9dacb12f41ddce0bb311c0afdb2ff7886 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 23 Mar 2005 23:15:08 +0000 Subject: [PATCH] fix dx7/dx9 crash --- panda/src/display/graphicsStateGuardian.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/panda/src/display/graphicsStateGuardian.cxx b/panda/src/display/graphicsStateGuardian.cxx index 411888e180..ffcbcf1931 100644 --- a/panda/src/display/graphicsStateGuardian.cxx +++ b/panda/src/display/graphicsStateGuardian.cxx @@ -325,11 +325,11 @@ release_index_buffer(IndexBufferContext *) { //////////////////////////////////////////////////////////////////// CPT(qpGeomMunger) GraphicsStateGuardian:: get_geom_munger(const RenderState *state) { - // The default implementation returns a munger that does nothing, - // but presumably, every kind of GSG needs some special munging - // action, so real GSG's will override this to return something more + // The default implementation returns no munger at all, but + // presumably, every kind of GSG needs some special munging action, + // so real GSG's will override this to return something more // useful. - return qpGeomMunger::register_munger(new qpGeomMunger(this, state)); + return NULL; } ////////////////////////////////////////////////////////////////////