mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 18:03:56 -04:00
fix crash
This commit is contained in:
parent
aa66e5433c
commit
8ddc7227ab
@ -25,9 +25,12 @@
|
||||
INLINE DXGeomMunger8::
|
||||
DXGeomMunger8(GraphicsStateGuardian *gsg, const RenderState *state) :
|
||||
StandardMunger(gsg, state, 1, NT_packed_dabc, C_color),
|
||||
_texture(state->get_texture()->filter_to_max(gsg->get_max_texture_stages())),
|
||||
_texture(state->get_texture()),
|
||||
_tex_gen(state->get_tex_gen())
|
||||
{
|
||||
if (_texture != (TextureAttrib *)NULL) {
|
||||
_texture = _texture->filter_to_max(gsg->get_max_texture_stages());
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user