summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-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 4e9bf0f9903..b60875b7128 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;