Browse Source

added a few calls to _mesa_update_framebuffer_visual()

tags/mesa_6_4
Brian Paul 20 years ago
parent
commit
b1e8471898
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/mesa/main/fbobject.c

+ 3
- 0
src/mesa/main/fbobject.c View File

@@ -1051,6 +1051,7 @@ _mesa_FramebufferTexture1DEXT(GLenum target, GLenum attachment,
texObj = NULL;
}
ctx->Driver.RenderbufferTexture(ctx, att, texObj, textarget, level, 0);
_mesa_update_framebuffer_visual(ctx->DrawBuffer);
}


@@ -1103,6 +1104,7 @@ _mesa_FramebufferTexture2DEXT(GLenum target, GLenum attachment,
texObj = NULL;
}
ctx->Driver.RenderbufferTexture(ctx, att, texObj, textarget, level, 0);
_mesa_update_framebuffer_visual(ctx->DrawBuffer);
}


@@ -1157,6 +1159,7 @@ _mesa_FramebufferTexture3DEXT(GLenum target, GLenum attachment,
}
ctx->Driver.RenderbufferTexture(ctx, att, texObj, textarget,
level, zoffset);
_mesa_update_framebuffer_visual(ctx->DrawBuffer);
}



Loading…
Cancel
Save