From 5adf68ebc56657845f43a89330973ea90c6456fb Mon Sep 17 00:00:00 2001 From: David Rose Date: Sun, 15 Mar 2009 01:25:49 +0000 Subject: [PATCH] undo vertex arrays too --- panda/src/glstuff/glGraphicsStateGuardian_src.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx b/panda/src/glstuff/glGraphicsStateGuardian_src.cxx index 2786de98d5..9ddcc81c16 100644 --- a/panda/src/glstuff/glGraphicsStateGuardian_src.cxx +++ b/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(); }