diff options
author | Ian Romanick <[email protected]> | 2019-11-18 19:42:22 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2019-12-04 15:34:03 -0800 |
commit | 78409856094d58907915406ce87d385a8012eed6 (patch) | |
tree | a5c9f3a66e3582f69c6989deb83b2bc776b79573 /src/mesa/state_tracker | |
parent | a7e607641a2b6f1d89e1c5e6eaf91d6faf156286 (diff) |
mesa: Silence unused parameter warning
Unused since e4da8b9c331 ("mesa/compiler: rework tear down of
builtin/types").
src/mesa/main/context.c: In function ‘_mesa_free_context_data’:
src/mesa/main/context.c:1321:54: warning: unused parameter ‘destroy_compiler_types’ [-Wunused-parameter]
1321 | _mesa_free_context_data(struct gl_context *ctx, bool destroy_compiler_types)
| ^
Reviewed-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index ed50c332c22..45043e6048e 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -1076,7 +1076,7 @@ st_destroy_context(struct st_context *st) st_destroy_program_variants(st); - _mesa_free_context_data(ctx, false); + _mesa_free_context_data(ctx); /* This will free the st_context too, so 'st' must not be accessed * afterwards. */ |