From 63b999d6bae7775bbfc4ee431ba7ac9ffdd7ecbd Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 12 Mar 2009 19:17:18 +0000 Subject: [PATCH] fix GLX_SLOW_CONFIG --- panda/src/glxdisplay/glxGraphicsStateGuardian.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/panda/src/glxdisplay/glxGraphicsStateGuardian.cxx b/panda/src/glxdisplay/glxGraphicsStateGuardian.cxx index cc64097aba..9993f99b8d 100644 --- a/panda/src/glxdisplay/glxGraphicsStateGuardian.cxx +++ b/panda/src/glxdisplay/glxGraphicsStateGuardian.cxx @@ -175,10 +175,9 @@ get_properties_advanced(FrameBufferProperties &properties, pixmap_supported = true; } - if (caveat & GLX_SLOW_CONFIG) { + slow = false; + if (caveat == GLX_SLOW_CONFIG) { slow = true; - } else { - slow = false; } if ((drawable_type & GLX_WINDOW_BIT)==0) {