diff options
author | Brian Paul <[email protected]> | 2013-01-29 12:09:56 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-01-29 12:32:13 -0700 |
commit | ce6bf2d4c5968da9beaa5c8192fe1a15e64f318e (patch) | |
tree | 1afdf2df384ac4c0e9320886cc9321ed5c2cc37a /src/mesa/main | |
parent | 67e7263e4567f36e59009a1ca076a2854a6c1b0e (diff) |
mesa: remove ctx->Driver.Error() hook
Not used by any driver anymore.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/context.c | 5 | ||||
-rw-r--r-- | src/mesa/main/dd.h | 6 |
2 files changed, 0 insertions, 11 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 5e9e539b27f..531b811fecd 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1663,11 +1663,6 @@ _mesa_record_error(struct gl_context *ctx, GLenum error) if (ctx->ErrorValue == GL_NO_ERROR) { ctx->ErrorValue = error; } - - /* Call device driver's error handler, if any. This is used on the Mac. */ - if (ctx->Driver.Error) { - ctx->Driver.Error(ctx); - } } diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index f91fd412032..9a75fd9541a 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -109,12 +109,6 @@ struct dd_function_table { GLuint width, GLuint height); /** - * Called whenever an error is generated. - * __struct gl_contextRec::ErrorValue contains the error value. - */ - void (*Error)( struct gl_context *ctx ); - - /** * This is called whenever glFinish() is called. */ void (*Finish)( struct gl_context *ctx ); |