Bläddra i källkod

fix GLX_SLOW_CONFIG

David Rose 17 år sedan
förälder
incheckning
63b999d6ba
1 ändrade filer med 2 tillägg och 3 borttagningar
  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;
     pixmap_supported = true;
   }
   }
   
   
-  if (caveat & GLX_SLOW_CONFIG) {
+  slow = false;
+  if (caveat == GLX_SLOW_CONFIG) {
     slow = true;
     slow = true;
-  } else {
-    slow = false;
   }
   }
 
 
   if ((drawable_type & GLX_WINDOW_BIT)==0) {
   if ((drawable_type & GLX_WINDOW_BIT)==0) {