summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/glxext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/glxext.c b/src/glx/glxext.c
index 0c2f73fea00..f6bc377add5 100644
--- a/src/glx/glxext.c
+++ b/src/glx/glxext.c
@@ -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 *