mesa/st: Silence unused parameter warnings in st_context.c
src/mesa/state_tracker/st_context.c: In function ‘st_Enable’:
src/mesa/state_tracker/st_context.c:101:57: warning: unused parameter ‘state’ [-Wunused-parameter]
101 | st_Enable(struct gl_context *ctx, GLenum cap, GLboolean state)
| ~~~~~~~~~~^~~~~
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7167>
This commit is contained in:
@@ -98,7 +98,7 @@ DEBUG_GET_ONCE_BOOL_OPTION(mesa_mvp_dp4, "MESA_MVP_DP4", FALSE)
|
||||
* Called via ctx->Driver.Enable()
|
||||
*/
|
||||
static void
|
||||
st_Enable(struct gl_context *ctx, GLenum cap, GLboolean state)
|
||||
st_Enable(struct gl_context *ctx, GLenum cap, UNUSED GLboolean state)
|
||||
{
|
||||
struct st_context *st = st_context(ctx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user