summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_extensions.c
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2012-05-07 16:17:31 -0700
committerJordan Justen <[email protected]>2012-05-17 10:54:26 -0700
commit602913192db1beadd9cc4252ec9ec633cfe7a21b (patch)
tree0ff5d42db0bcf2b385c9507c89c51089bf0c1277 /src/mesa/state_tracker/st_extensions.c
parenteef193560e5d59b1e38e01e2387e4b1897e05216 (diff)
state_tracker: remove sw_primitive_restart from st_context
The VBO module now can handle primitive restart in software if required. Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_extensions.c')
-rw-r--r--src/mesa/state_tracker/st_extensions.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index d0f392be44a..953155f364b 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -601,7 +601,6 @@ void st_init_extensions(struct st_context *st)
ctx->Extensions.NV_primitive_restart = GL_TRUE;
if (!screen->get_param(screen, PIPE_CAP_PRIMITIVE_RESTART)) {
- st->sw_primitive_restart = GL_TRUE;
ctx->Const.PrimitiveRestartInSoftware = GL_TRUE;
}