summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorTapani Pälli <[email protected]>2016-10-25 13:31:58 +0300
committerTapani Pälli <[email protected]>2016-10-27 07:06:41 +0300
commitef1600332009f0f526dc04b5d9dd6d430661e4f2 (patch)
treee22a1920d6d2130b3b25b3f3bef69116c1b0c728 /src/mesa/main/context.c
parent6bf6fcfcd9a916530bfbd47351bd1f0df47c4a3d (diff)
mesa: add missing CONTEXT_ROBUST_ACCESS enum
commit 85008db1d51f923113832394d7f8d6b1868be882 missed this enum for GL_KHR_robustness implementation Signed-off-by: Tapani Pälli <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 5aaf150e019..c62575c08ab 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -678,6 +678,9 @@ _mesa_init_constants(struct gl_constants *consts, gl_api api)
/* GL_ARB_robustness */
consts->ResetStrategy = GL_NO_RESET_NOTIFICATION_ARB;
+ /* GL_KHR_robustness */
+ consts->RobustAccess = GL_FALSE;
+
/* ES 3.0 or ARB_ES3_compatibility */
consts->MaxElementIndex = 0xffffffffu;