mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
fix dx7/dx9 crash
This commit is contained in:
parent
634a498588
commit
47e094a9da
@ -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;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user