From 9e6cc047929307c2587cf9991313c961421d239c Mon Sep 17 00:00:00 2001 From: Andrew Wason Date: Wed, 25 Apr 2012 18:20:13 +0000 Subject: [PATCH] commit another rectalogic patch, to fix pbuffers on GLX --- panda/src/glxdisplay/glxGraphicsBuffer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/glxdisplay/glxGraphicsBuffer.cxx b/panda/src/glxdisplay/glxGraphicsBuffer.cxx index c9aeaeb7f1..f21a08d62d 100644 --- a/panda/src/glxdisplay/glxGraphicsBuffer.cxx +++ b/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;