mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 19:58:09 +02:00
added a few calls to _mesa_update_framebuffer_visual()
This commit is contained in:
parent
b0e7d850d1
commit
071b30aba1
1 changed files with 4 additions and 0 deletions
|
|
@ -1083,6 +1083,8 @@ _mesa_FramebufferTexture1DEXT(GLenum target, GLenum attachment,
|
|||
texObj = NULL;
|
||||
}
|
||||
ctx->Driver.RenderbufferTexture(ctx, att, texObj, textarget, level, 0);
|
||||
|
||||
_mesa_update_framebuffer_visual(ctx->DrawBuffer);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -1135,6 +1137,7 @@ _mesa_FramebufferTexture2DEXT(GLenum target, GLenum attachment,
|
|||
texObj = NULL;
|
||||
}
|
||||
ctx->Driver.RenderbufferTexture(ctx, att, texObj, textarget, level, 0);
|
||||
_mesa_update_framebuffer_visual(ctx->DrawBuffer);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -1189,6 +1192,7 @@ _mesa_FramebufferTexture3DEXT(GLenum target, GLenum attachment,
|
|||
}
|
||||
ctx->Driver.RenderbufferTexture(ctx, att, texObj, textarget,
|
||||
level, zoffset);
|
||||
_mesa_update_framebuffer_visual(ctx->DrawBuffer);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue