ソースを参照

fix GLX_SLOW_CONFIG

David Rose 17 年 前
コミット
63b999d6ba
1 ファイル変更2 行追加3 行削除
  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) {