diff options
author | Ian Romanick <[email protected]> | 2010-02-24 18:58:38 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2010-03-03 12:37:04 -0800 |
commit | 22a96f305898b5d1aa26809c7156a01686eb9bf0 (patch) | |
tree | a6a863d1bd28f639f92467364d4d4687f4367413 /src/mesa/main/context.c | |
parent | fcf438e9e03f6e75bca4a49ad372fe7c4b1abbf8 (diff) |
mesa: Remove checks of Visual.rgbMode
This must always be true now, so there is no reason to check it. Ever.
Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index b827d54176e..73126b95755 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1164,8 +1164,6 @@ check_compatible(const GLcontext *ctx, const GLframebuffer *buffer) if (ctxvis == bufvis) return GL_TRUE; - if (ctxvis->rgbMode != bufvis->rgbMode) - return GL_FALSE; #if 0 /* disabling this fixes the fgl_glxgears pbuffer demo */ if (ctxvis->doubleBufferMode && !bufvis->doubleBufferMode) |