summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-11-02 09:40:55 -0600
committerBrian Paul <brianp@vmware.com>2010-11-02 09:40:57 -0600
commit4a9ce9b299832b4f367cc6da06f36ee20c7d0d5f (patch)
tree72383acb83f2a53ec9eb5e1320276c47306a41d2 /src
parent670207e6d0f0c5a25a709a4b83987d379ee4b8fe (diff)
mesa: remove always-false conditional in check_compatible()
The two gl_config pointers can never be equal.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/context.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 4e9bf0f990..b60875b712 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1292,9 +1292,6 @@ check_compatible(const struct gl_context *ctx, const struct gl_framebuffer *buff
const struct gl_config *ctxvis = &ctx->Visual;
const struct gl_config *bufvis = &buffer->Visual;
- if (ctxvis == bufvis)
- return GL_TRUE;
-
if (buffer == _mesa_get_incomplete_framebuffer())
return GL_TRUE;