Browse Source

commit another rectalogic patch, to fix pbuffers on GLX

Andrew Wason 13 years ago
parent
commit
9e6cc04792
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/glxdisplay/glxGraphicsBuffer.cxx

+ 1 - 1
panda/src/glxdisplay/glxGraphicsBuffer.cxx

@@ -187,7 +187,7 @@ open_buffer() {
     }
   }
   
-  if (glxgsg->_fbconfig == None || glxgsg->_context_has_pbuffer) {
+  if (glxgsg->_fbconfig == None || !glxgsg->_context_has_pbuffer) {
     // If we didn't use an fbconfig to create the GSG, or it doesn't
     // support buffers, we can't create a PBuffer.
     return false;