Browse Source

glgsg: fix false positive for buffer texture detection on OpenGL 3.0

deflected 8 years ago
parent
commit
351627a0e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/glstuff/glGraphicsStateGuardian_src.cxx

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

@@ -929,7 +929,7 @@ reset() {
 #endif
 #endif
 
 
 #ifndef OPENGLES
 #ifndef OPENGLES
-  if (is_at_least_gl_version(3, 0)) {
+  if (is_at_least_gl_version(3, 1)) {
     _glTexBuffer = (PFNGLTEXBUFFERPROC)get_extension_func("glTexBuffer");
     _glTexBuffer = (PFNGLTEXBUFFERPROC)get_extension_func("glTexBuffer");
     _supports_buffer_texture = true;
     _supports_buffer_texture = true;