From 071b30aba139aca90c920d6d9b502630c94355d7 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 3 Oct 2005 16:11:35 +0000 Subject: added a few calls to _mesa_update_framebuffer_visual() --- src/mesa/main/fbobject.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mesa') diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 4c9967e7d2c..07489f96205 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); } -- cgit v1.2.3