aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/state_tracker/st_draw.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-06-13 19:54:55 +0200
committermarha <marha@users.sourceforge.net>2011-06-13 19:54:55 +0200
commitf4babb3a422e27cd33fba36f7a21eb67b7dee25d (patch)
tree92729aa42576ba2ef746c0168231ce806ddf114d /mesalib/src/mesa/state_tracker/st_draw.c
parentee6b5ca3b101697d067675efa68f0e603cd61ffa (diff)
downloadvcxsrv-f4babb3a422e27cd33fba36f7a21eb67b7dee25d.tar.gz
vcxsrv-f4babb3a422e27cd33fba36f7a21eb67b7dee25d.tar.bz2
vcxsrv-f4babb3a422e27cd33fba36f7a21eb67b7dee25d.zip
libX11 mesa xkeyboard-config libXmu libXext libXdmcp libxtrans x11proto git update 13 Jun 2011
Diffstat (limited to 'mesalib/src/mesa/state_tracker/st_draw.c')
-rw-r--r--mesalib/src/mesa/state_tracker/st_draw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesalib/src/mesa/state_tracker/st_draw.c b/mesalib/src/mesa/state_tracker/st_draw.c
index 56955d357..dd26db2f6 100644
--- a/mesalib/src/mesa/state_tracker/st_draw.c
+++ b/mesalib/src/mesa/state_tracker/st_draw.c
@@ -650,7 +650,8 @@ st_draw_vbo(struct gl_context *ctx,
struct pipe_draw_info info;
unsigned i, num_instances = 1;
GLboolean new_array =
- st->dirty.st && (st->dirty.mesa & (_NEW_ARRAY | _NEW_PROGRAM)) != 0;
+ st->dirty.st &&
+ (st->dirty.mesa & (_NEW_ARRAY | _NEW_PROGRAM | _NEW_BUFFER_OBJECT)) != 0;
/* Mesa core state should have been validated already */
assert(ctx->NewState == 0x0);