glx: correctly mask the drawableType for GLX_ARB_fbconfig_float
[mesa.git] / src / glx / glxext.c
index 0c2f73fea00c21be01a364dc1bb48291efa75b8f..f6bc377add5087741a52ebdabc2772af6141c342 100644 (file)
@@ -599,7 +599,7 @@ __glXInitializeVisualConfigFromTags(struct glx_config * config, int count,
     *     GLXPbuffer drawables."
     */
    if (config->floatMode)
-      config->drawableType &= ~(GLX_WINDOW_BIT|GLX_PIXMAP_BIT);
+      config->drawableType &= GLX_PBUFFER_BIT;
 }
 
 static struct glx_config *