diff options
author | Brian Paul <[email protected]> | 2014-01-31 17:28:08 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-02-02 06:52:37 -0700 |
commit | deb9dd6e27956c2f9d9402fe70f0ca7bfa529450 (patch) | |
tree | 7d583badeb04a72cf8a776b2d29cf794bf52f22e /src/mesa/drivers | |
parent | c20b48c48e81159a43941966e35f90f96226d6fb (diff) |
mesa: remove target param from ctx->Driver.TexParameter()
Not really used anywhere.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_state.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_tex.c | 5 | ||||
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_tex.c | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_state.c b/src/mesa/drivers/dri/nouveau/nouveau_state.c index 3e7ed210196..596b3c4b212 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_state.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_state.c @@ -392,7 +392,7 @@ nouveau_tex_env(struct gl_context *ctx, GLenum target, GLenum pname, } static void -nouveau_tex_parameter(struct gl_context *ctx, GLenum target, +nouveau_tex_parameter(struct gl_context *ctx, struct gl_texture_object *t, GLenum pname, const GLfloat *params) { diff --git a/src/mesa/drivers/dri/r200/r200_tex.c b/src/mesa/drivers/dri/r200/r200_tex.c index f80bd6fa44e..4c63260b109 100644 --- a/src/mesa/drivers/dri/r200/r200_tex.c +++ b/src/mesa/drivers/dri/r200/r200_tex.c @@ -375,16 +375,15 @@ void r200TexUpdateParameters(struct gl_context *ctx, GLuint unit) * Changes variables and flags for a state update, which will happen at the * next UpdateTextureState */ -static void r200TexParameter( struct gl_context *ctx, GLenum target, +static void r200TexParameter( struct gl_context *ctx, struct gl_texture_object *texObj, GLenum pname, const GLfloat *params ) { radeonTexObj* t = radeon_tex_obj(texObj); radeon_print(RADEON_TEXTURE | RADEON_STATE, RADEON_VERBOSE, - "%s(%p, tex %p) target %s, pname %s\n", + "%s(%p, tex %p) pname %s\n", __FUNCTION__, ctx, texObj, - _mesa_lookup_enum_by_nr( target ), _mesa_lookup_enum_by_nr( pname ) ); switch ( pname ) { diff --git a/src/mesa/drivers/dri/radeon/radeon_tex.c b/src/mesa/drivers/dri/radeon/radeon_tex.c index fe8d8ed02f1..2c9c1bcb138 100644 --- a/src/mesa/drivers/dri/radeon/radeon_tex.c +++ b/src/mesa/drivers/dri/radeon/radeon_tex.c @@ -328,7 +328,7 @@ void radeonTexUpdateParameters(struct gl_context *ctx, GLuint unit) * next UpdateTextureState */ -static void radeonTexParameter( struct gl_context *ctx, GLenum target, +static void radeonTexParameter( struct gl_context *ctx, struct gl_texture_object *texObj, GLenum pname, const GLfloat *params ) { |