diff options
author | marha <marha@users.sourceforge.net> | 2011-06-20 09:33:04 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-06-20 09:33:04 +0200 |
commit | 4703c93aaecf0d5794eca723cd5b1b72b04d04ee (patch) | |
tree | 093ee59932ea8c412a7bc42829664b9d14edc1af /mesalib/src/mesa/main/texobj.c | |
parent | 743d2ab8160b84c62106467c50ec3871adbf5e75 (diff) | |
download | vcxsrv-4703c93aaecf0d5794eca723cd5b1b72b04d04ee.tar.gz vcxsrv-4703c93aaecf0d5794eca723cd5b1b72b04d04ee.tar.bz2 vcxsrv-4703c93aaecf0d5794eca723cd5b1b72b04d04ee.zip |
libX11 xserver mesa git update 20 June 2011
Diffstat (limited to 'mesalib/src/mesa/main/texobj.c')
-rw-r--r-- | mesalib/src/mesa/main/texobj.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/texobj.c b/mesalib/src/mesa/main/texobj.c index fdf12817c..565a3a2d8 100644 --- a/mesalib/src/mesa/main/texobj.c +++ b/mesalib/src/mesa/main/texobj.c @@ -879,6 +879,8 @@ unbind_texobj_from_fbo(struct gl_context *ctx, for (j = 0; j < BUFFER_COUNT; j++) { if (fb->Attachment[j].Type == GL_TEXTURE && fb->Attachment[j].Texture == texObj) { + /* Vertices are already flushed by _mesa_DeleteTextures */ + ctx->NewState |= _NEW_BUFFERS; _mesa_remove_attachment(ctx, fb->Attachment + j); } } |