Browse Source

oops, can't clear pointers

David Rose 17 years ago
parent
commit
4a099b93f1
1 changed files with 0 additions and 5 deletions
  1. 0 5
      panda/src/tinydisplay/tinyGraphicsStateGuardian.cxx

+ 0 - 5
panda/src/tinydisplay/tinyGraphicsStateGuardian.cxx

@@ -434,11 +434,6 @@ end_frame(Thread *current_thread) {
 
   // Evict any textures that exceed our texture memory.
   _textures_lru.begin_epoch();
-
-  // Clear these pointers so we don't have floating pointers between
-  // frames.
-  _current_frame_buffer = NULL;
-  _c->zb = NULL;
 }