mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
mesa: remove Driver.Hint
Nothing sets it. Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
8de82faf95
commit
1044f99812
5 changed files with 0 additions and 10 deletions
|
|
@ -133,7 +133,6 @@ _mesa_init_driver_functions(struct dd_function_table *driver)
|
|||
driver->DepthRange = NULL;
|
||||
driver->Enable = NULL;
|
||||
driver->Fogfv = NULL;
|
||||
driver->Hint = NULL;
|
||||
driver->Lightfv = NULL;
|
||||
driver->LightModelfv = NULL;
|
||||
driver->LineStipple = NULL;
|
||||
|
|
|
|||
|
|
@ -2389,7 +2389,6 @@ void r200InitStateFuncs( radeonContextPtr radeon, struct dd_function_table *func
|
|||
functions->Enable = r200Enable;
|
||||
functions->Fogfv = r200Fogfv;
|
||||
functions->FrontFace = r200FrontFace;
|
||||
functions->Hint = NULL;
|
||||
functions->LightModelfv = r200LightModelfv;
|
||||
functions->Lightfv = r200Lightfv;
|
||||
functions->LineStipple = r200LineStipple;
|
||||
|
|
|
|||
|
|
@ -2148,7 +2148,6 @@ void radeonInitStateFuncs( struct gl_context *ctx )
|
|||
ctx->Driver.Enable = radeonEnable;
|
||||
ctx->Driver.Fogfv = radeonFogfv;
|
||||
ctx->Driver.FrontFace = radeonFrontFace;
|
||||
ctx->Driver.Hint = NULL;
|
||||
ctx->Driver.LightModelfv = radeonLightModelfv;
|
||||
ctx->Driver.Lightfv = radeonLightfv;
|
||||
ctx->Driver.LineStipple = radeonLineStipple;
|
||||
|
|
|
|||
|
|
@ -545,8 +545,6 @@ struct dd_function_table {
|
|||
void (*Enable)(struct gl_context *ctx, GLenum cap, GLboolean state);
|
||||
/** Specify fog parameters */
|
||||
void (*Fogfv)(struct gl_context *ctx, GLenum pname, const GLfloat *params);
|
||||
/** Specify implementation-specific hints */
|
||||
void (*Hint)(struct gl_context *ctx, GLenum target, GLenum mode);
|
||||
/** Set light source parameters.
|
||||
* Note: for GL_POSITION and GL_SPOT_DIRECTION, params will have already
|
||||
* been transformed to eye-space.
|
||||
|
|
|
|||
|
|
@ -123,11 +123,6 @@ _mesa_Hint( GLenum target, GLenum mode )
|
|||
default:
|
||||
goto invalid_target;
|
||||
}
|
||||
|
||||
if (ctx->Driver.Hint) {
|
||||
(*ctx->Driver.Hint)( ctx, target, mode );
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
invalid_target:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue