Browse Source

undo vertex arrays too

David Rose 17 years ago
parent
commit
5adf68ebc5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      panda/src/glstuff/glGraphicsStateGuardian_src.cxx

+ 1 - 0
panda/src/glstuff/glGraphicsStateGuardian_src.cxx

@@ -1548,6 +1548,7 @@ prepare_display_region(DisplayRegionPipelineReader *dr,
 ////////////////////////////////////////////////////////////////////
 void CLP(GraphicsStateGuardian)::
 clear_before_callback() {
+  disable_standard_vertex_arrays();
   unbind_buffers();
 }