commit another rectalogic patch, to fix pbuffers on GLX

This commit is contained in:
Andrew Wason 2012-04-25 18:20:13 +00:00 committed by rdb
parent a4c3d999f2
commit 9e6cc04792

View File

@ -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;