diff options
author | Brian Paul <[email protected]> | 2016-10-07 14:28:21 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-10-13 17:38:49 -0600 |
commit | a710c21ac200fc1c80a6209862e837f0a75f4cc5 (patch) | |
tree | 7b00bb81989736169eea549dc1e4b09fae7471f3 /src/mesa/state_tracker | |
parent | 99d790538de2e7d7d489a8638b13c5aa069c27c3 (diff) |
mesa: remove 'params' parameter from ctx->Driver.TexParameter()
None of the drivers which implement this hook do anything with the
texture parameter value. Drivers just look at the pname and set a
dirty flag if needed.
We were doing some ugly casting and type conversion to setup the
argument so that all goes away.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index b448e56738f..fa52a4e18a8 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -2860,8 +2860,7 @@ st_ClearTexSubImage(struct gl_context *ctx, */ static void st_TexParameter(struct gl_context *ctx, - struct gl_texture_object *texObj, - GLenum pname, const GLfloat *params) + struct gl_texture_object *texObj, GLenum pname) { struct st_context *st = st_context(ctx); struct st_texture_object *stObj = st_texture_object(texObj); |