summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2019-11-18 19:42:22 -0800
committerIan Romanick <[email protected]>2019-12-04 15:34:03 -0800
commit78409856094d58907915406ce87d385a8012eed6 (patch)
treea5c9f3a66e3582f69c6989deb83b2bc776b79573 /src/mesa/main/context.h
parenta7e607641a2b6f1d89e1c5e6eaf91d6faf156286 (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/main/context.h')
-rw-r--r--src/mesa/main/context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h
index e9b270df14c..58123155002 100644
--- a/src/mesa/main/context.h
+++ b/src/mesa/main/context.h
@@ -115,7 +115,7 @@ _mesa_initialize_context( struct gl_context *ctx,
const struct dd_function_table *driverFunctions);
extern void
-_mesa_free_context_data(struct gl_context *ctx, bool destroy_compiler_types);
+_mesa_free_context_data(struct gl_context *ctx);
extern void
_mesa_destroy_context( struct gl_context *ctx );