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::
|
CPT(qpGeomMunger) GraphicsStateGuardian::
|
||||||
get_geom_munger(const RenderState *state) {
|
get_geom_munger(const RenderState *state) {
|
||||||
// The default implementation returns a munger that does nothing,
|
// The default implementation returns no munger at all, but
|
||||||
// but presumably, every kind of GSG needs some special munging
|
// presumably, every kind of GSG needs some special munging action,
|
||||||
// action, so real GSG's will override this to return something more
|
// so real GSG's will override this to return something more
|
||||||
// useful.
|
// useful.
|
||||||
return qpGeomMunger::register_munger(new qpGeomMunger(this, state));
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
x
Reference in New Issue
Block a user