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:
Ian Romanick 2020-10-12 16:18:13 -07:00
parent 4cd930565e
commit 9b847d4150

View file

@ -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);