diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-10-03 16:11:35 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-10-03 16:11:35 +0000 |
commit | 071b30aba139aca90c920d6d9b502630c94355d7 (patch) | |
tree | 95c0ca91650f0b752e419e8c0b2c13c1e570acb5 /src/mesa/main | |
parent | b0e7d850d1471fd8e5aa99a67ec7ea9721b692ad (diff) |
added a few calls to _mesa_update_framebuffer_visual()
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/fbobject.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 4c9967e7d2..07489f9620 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -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); } |