summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-09-27 21:28:22 +0200
committerMarek Olšák <[email protected]>2015-10-03 22:06:08 +0200
commit1044f99812bb29fa06c83c7230fe80f867711266 (patch)
tree3e55192aeac9b3969b82fd014154bbb30663e551 /src/mesa/main
parent8de82faf95e2f4713370876fecba621a9efe87e7 (diff)
mesa: remove Driver.Hint
Nothing sets it. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/dd.h2
-rw-r--r--src/mesa/main/hint.c5
2 files changed, 0 insertions, 7 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 1ab27c9c332..dfcc206201f 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -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.
diff --git a/src/mesa/main/hint.c b/src/mesa/main/hint.c
index 984239a7276..5d0c15d35ab 100644
--- a/src/mesa/main/hint.c
+++ b/src/mesa/main/hint.c
@@ -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: