Browse Source

fix GLX_SLOW_CONFIG

David Rose 17 years ago
parent
commit
63b999d6ba
1 changed files with 2 additions and 3 deletions
  1. 2 3
      panda/src/glxdisplay/glxGraphicsStateGuardian.cxx

+ 2 - 3
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) {