Browse Source

Graphics buffer is no longer valid when closed.

aignacio_sf 19 years ago
parent
commit
9189ad4362
1 changed files with 2 additions and 0 deletions
  1. 2 0
      panda/src/glstuff/glGraphicsBuffer_src.cxx

+ 2 - 0
panda/src/glstuff/glGraphicsBuffer_src.cxx

@@ -514,5 +514,7 @@ close_buffer() {
   
   // Release the Gsg
   _gsg.clear();
+
+  _is_valid = false;
 }