mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 13:10:10 +01:00
mesa: remove ctx->Driver.Error() hook
Not used by any driver anymore. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
67e7263e45
commit
ce6bf2d4c5
3 changed files with 0 additions and 12 deletions
|
|
@ -75,7 +75,6 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
|
|||
driver->UpdateState = NULL; /* REQUIRED! */
|
||||
driver->GetBufferSize = NULL; /* REQUIRED! */
|
||||
driver->ResizeBuffers = _mesa_resize_framebuffer;
|
||||
driver->Error = NULL;
|
||||
|
||||
driver->Finish = NULL;
|
||||
driver->Flush = NULL;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -108,12 +108,6 @@ struct dd_function_table {
|
|||
void (*ResizeBuffers)( struct gl_context *ctx, struct gl_framebuffer *fb,
|
||||
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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue