Browse Source

Fix OpenGL error on FBO shutdown
(caused by call to glGetError while context was already shut down)

rdb 11 years ago
parent
commit
0f1243230d
1 changed files with 0 additions and 2 deletions
  1. 0 2
      panda/src/glstuff/glGraphicsBuffer_src.cxx

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

@@ -1394,9 +1394,7 @@ open_buffer() {
 ////////////////////////////////////////////////////////////////////
 void CLP(GraphicsBuffer)::
 close_buffer() {
-
   check_host_valid();
-  report_my_gl_errors();
 
   if (_gsg == 0) {
     return;