bug with reissued textures
This commit is contained in:
parent
5fde282d94
commit
2189ba3258
|
|
@ -753,6 +753,10 @@ end_scene() {
|
|||
// Put the state into the 'unknown' state, forcing a reload.
|
||||
_last_state = 0;
|
||||
_state.clear_to_zero();
|
||||
|
||||
// We need to reset this to force a dynamic texture to be reloaded
|
||||
// next frame even if it is the only texture in the scene.
|
||||
_current_texture = DCAST(TextureAttrib, TextureAttrib::make_all_off());
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////
|
||||
|
|
|
|||
Loading…
Reference in New Issue