summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-09-05 22:21:36 -0700
committerIan Romanick <[email protected]>2013-11-07 16:41:38 -0800
commit114d360dfa4c293883538081298d620b26a45833 (patch)
treefadbbd519787e66cec4c966a63d8567cc8c1eabb /src/mesa
parent69b425efae189af6068b28d1da5a93d27c5315a7 (diff)
mesa: Remove gl_context::ResetStatus
This isn't going to be used in the actual implemenation of glGetGraphicsResetStatus. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/context.c1
-rw-r--r--src/mesa/main/getstring.c2
-rw-r--r--src/mesa/main/mtypes.h3
3 files changed, 1 insertions, 5 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 49dbb55b886..913f409e416 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -808,7 +808,6 @@ init_attrib_groups(struct gl_context *ctx)
ctx->NewState = _NEW_ALL;
ctx->NewDriverState = ~0;
ctx->ErrorValue = GL_NO_ERROR;
- ctx->ResetStatus = GL_NO_ERROR;
ctx->varying_vp_inputs = VERT_BIT_ALL;
return GL_TRUE;
diff --git a/src/mesa/main/getstring.c b/src/mesa/main/getstring.c
index 0e075427fa0..23f1e09506f 100644
--- a/src/mesa/main/getstring.c
+++ b/src/mesa/main/getstring.c
@@ -305,7 +305,7 @@ GLenum GLAPIENTRY
_mesa_GetGraphicsResetStatusARB( void )
{
GET_CURRENT_CONTEXT(ctx);
- GLenum status = ctx->ResetStatus;
+ GLenum status = GL_NO_ERROR;
if (MESA_VERBOSE & VERBOSE_API)
_mesa_debug(ctx, "glGetGraphicsResetStatusARB"
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index cca39f151c1..0e5bcc9e40f 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -3903,9 +3903,6 @@ struct gl_context
GLenum ErrorValue; /**< Last error code */
- /* GL_ARB_robustness */
- GLenum ResetStatus;
-
/**
* Recognize and silence repeated error debug messages in buggy apps.
*/