summaryrefslogtreecommitdiffstats
path: root/src/glx/mini
diff options
context:
space:
mode:
Diffstat (limited to 'src/glx/mini')
-rw-r--r--src/glx/mini/miniglx.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/glx/mini/miniglx.c b/src/glx/mini/miniglx.c
index 43889964a5c..7e78a020ddb 100644
--- a/src/glx/mini/miniglx.c
+++ b/src/glx/mini/miniglx.c
@@ -1603,7 +1603,6 @@ glXChooseVisual( Display *dpy, int screen, int *attribList )
for (i = 0; i < dpy->numModes; i++) {
const __GLcontextModes *mode = dpy->modes + i;
if (mode->rgbMode == rgbFlag &&
- (mode->redBits+mode->greenBits+mode->blueBits+mode->alphaBits) == dpy->driverContext.bpp &&
mode->redBits >= redBits &&
mode->greenBits >= greenBits &&
mode->blueBits >= blueBits &&