diff options
author | Jordan Justen <[email protected]> | 2012-05-07 15:39:31 -0700 |
---|---|---|
committer | Jordan Justen <[email protected]> | 2012-05-17 10:54:26 -0700 |
commit | fc22fde9d8ba633f9f13ea0c46baa1c826d1377f (patch) | |
tree | 8dccefff65d3c819e8ae29a36eac638d08826fa1 /src/mesa/main/context.c | |
parent | bc8e0f5b0ff82c919ed1ee67e4fad55705937b30 (diff) |
mesa: add PrimitiveRestartInSoftware to gl_context.Const
If set, then the VBO module will handle all primitive
restart scenarios before calling the driver draw_prims.
Software primitive restart support is disabled by default.
Signed-off-by: Jordan Justen <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index bafd250a15c..df0452cd114 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -662,6 +662,9 @@ _mesa_init_constants(struct gl_context *ctx) /* GL_ARB_robustness */ ctx->Const.ResetStrategy = GL_NO_RESET_NOTIFICATION_ARB; + + /* PrimitiveRestart */ + ctx->Const.PrimitiveRestartInSoftware = GL_FALSE; } |