diff options
author | marha <marha@users.sourceforge.net> | 2011-10-27 08:32:52 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-10-27 08:32:52 +0200 |
commit | d662d461634660f5c0f3998b5eb7d7ed3bd5a25f (patch) | |
tree | acb25086e94250ff8edf746705bdffb5551c00d8 /mesalib/src/mesa/state_tracker/st_context.c | |
parent | 4f005bade376d15ee60e90ca45a831aff9725087 (diff) | |
download | vcxsrv-d662d461634660f5c0f3998b5eb7d7ed3bd5a25f.tar.gz vcxsrv-d662d461634660f5c0f3998b5eb7d7ed3bd5a25f.tar.bz2 vcxsrv-d662d461634660f5c0f3998b5eb7d7ed3bd5a25f.zip |
mesa git update 27 okt 2011
Diffstat (limited to 'mesalib/src/mesa/state_tracker/st_context.c')
-rw-r--r-- | mesalib/src/mesa/state_tracker/st_context.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_context.c b/mesalib/src/mesa/state_tracker/st_context.c index 6d4bc544d..a1817720d 100644 --- a/mesalib/src/mesa/state_tracker/st_context.c +++ b/mesalib/src/mesa/state_tracker/st_context.c @@ -144,6 +144,10 @@ st_create_context_priv( struct gl_context *ctx, struct pipe_context *pipe ) /* we want all vertex data to be placed in buffer objects */ vbo_use_buffer_objects(ctx); + + /* make sure that no VBOs are left mapped when we're drawing. */ + vbo_always_unmap_buffers(ctx); + /* Need these flags: */ st->ctx->FragmentProgram._MaintainTexEnvProgram = GL_TRUE; |