mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
remove some unneeded code
This commit is contained in:
parent
14e9700621
commit
af6a480117
2 changed files with 0 additions and 14 deletions
|
|
@ -1068,10 +1068,6 @@ _mesa_BindFramebufferEXT(GLenum target, GLuint framebuffer)
|
|||
if (ctx->Driver.BindFramebuffer) {
|
||||
ctx->Driver.BindFramebuffer(ctx, target, newFb);
|
||||
}
|
||||
|
||||
if (ctx->Driver.BindFramebuffer) {
|
||||
ctx->Driver.BindFramebuffer(ctx, target, newFb);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -250,14 +250,4 @@ _mesa_finish_render_texture(GLcontext *ctx,
|
|||
/* The renderbuffer texture wrapper will get deleted by the
|
||||
* normal mechanism for deleting renderbuffers.
|
||||
*/
|
||||
#if 0
|
||||
if (att->Renderbuffer) {
|
||||
att->Renderbuffer->RefCount--;
|
||||
}
|
||||
if (att->Renderbuffer->RefCount <= 0) {
|
||||
_mesa_debug(ctx, "%s refcount == 0!\n", __FUNCTION__);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue