mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
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:
parent
4cd930565e
commit
9b847d4150
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue