projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
670207e
)
mesa: remove always-false conditional in check_compatible()
author
Brian Paul
<brianp@vmware.com>
Tue, 2 Nov 2010 15:40:55 +0000
(09:40 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 2 Nov 2010 15:40:57 +0000
(09:40 -0600)
The two gl_config pointers can never be equal.
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index 4e9bf0f990312f322b84d022ae702fbf4d610793..b60875b712866c573ccb4628ec9c27334d001753 100644
(file)
--- 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;