mesa: remove always-false conditional in check_compatible()
The two gl_config pointers can never be equal.
This commit is contained in:
parent
670207e6d0
commit
4a9ce9b299
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue