mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
fix crash when show-buffers is enabled
This commit is contained in:
parent
7261a2e4b9
commit
6a28498119
@ -891,6 +891,9 @@ end_frame() {
|
||||
// We have to be sure to clear the _texture pointer, though, or
|
||||
// we'll end up holding a reference to it forever.
|
||||
_texture = NULL;
|
||||
|
||||
// And we need to stop trying to copy to the texture.
|
||||
_rtm_mode = RTM_none;
|
||||
}
|
||||
|
||||
_cube_map_index = -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user