summaryrefslogtreecommitdiff
path: root/src/glx/mini/miniglx.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-05-12 14:51:51 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-05-12 14:51:51 +0000
commit5726a238d4d0d6dbe19ddb58cd07f7eeefb58fa2 (patch)
treea0971271d24d0ae5ae8f56d2aa9a9a206501717a /src/glx/mini/miniglx.c
parent86c7541f9b9b8f24d53724187729fdca25a84056 (diff)
remove the last line of the previous patch
Diffstat (limited to 'src/glx/mini/miniglx.c')
-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 43889964a5..7e78a020dd 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 &&