summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_draw.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-06-14 09:15:36 -0600
committerBrian Paul <[email protected]>2011-06-14 17:19:53 -0600
commit99feecc7d1d0a6efb2511859973d6029d9fed9fd (patch)
tree672e9eb9a3491fc2128f786f2e2dff4a6b7e5e93 /src/mesa/state_tracker/st_draw.c
parentc1477f6ffe6a3d032dbcc76a5f506a7293e2fece (diff)
st/mesa: replace st->ctx with ctx
Diffstat (limited to 'src/mesa/state_tracker/st_draw.c')
-rw-r--r--src/mesa/state_tracker/st_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c
index 7f74e78cede..fac0ab7a1f7 100644
--- a/src/mesa/state_tracker/st_draw.c
+++ b/src/mesa/state_tracker/st_draw.c
@@ -728,8 +728,8 @@ st_draw_vbo(struct gl_context *ctx,
}
}
- info.primitive_restart = st->ctx->Array.PrimitiveRestart;
- info.restart_index = st->ctx->Array.RestartIndex;
+ info.primitive_restart = ctx->Array.PrimitiveRestart;
+ info.restart_index = ctx->Array.RestartIndex;
/* do actual drawing */
for (i = 0; i < nr_prims; i++) {