summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_save_loopback.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-04-23 10:53:00 -0600
committerBrian Paul <[email protected]>2013-04-23 21:09:17 -0600
commit976b529b7c977e11a487c61d92bc5037cfd32155 (patch)
tree6dc4c36e09fe236f3c04e53004a6ef6a928262bd /src/mesa/vbo/vbo_save_loopback.c
parent9a32203e1618486e87c7baf494134e05f0e38cf3 (diff)
mesa: use new _mesa_inside_begin_end() function
Reviewed-by: Eric Anholt <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/vbo/vbo_save_loopback.c')
-rw-r--r--src/mesa/vbo/vbo_save_loopback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_save_loopback.c b/src/mesa/vbo/vbo_save_loopback.c
index 25d4c51b1d9..31343cd67a9 100644
--- a/src/mesa/vbo/vbo_save_loopback.c
+++ b/src/mesa/vbo/vbo_save_loopback.c
@@ -177,7 +177,7 @@ void vbo_loopback_vertex_list( struct gl_context *ctx,
for (i = 0 ; i < prim_count ; i++) {
if ((prim[i].mode & VBO_SAVE_PRIM_WEAK) &&
- (ctx->Driver.CurrentExecPrimitive != PRIM_OUTSIDE_BEGIN_END))
+ _mesa_inside_begin_end(ctx))
{
loopback_weak_prim( ctx, &prim[i] );
}