summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/light.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2015-02-10 08:58:01 -0800
committerIan Romanick <ian.d.romanick@intel.com>2015-02-17 12:29:58 -0800
commit2524f9b80d5763377600e15e584152253420ad25 (patch)
tree9f4aa66cd9412221f8f78c8fb17ac34274891a30 /src/mesa/main/light.h
parent1424bbfb572e6165e57554c6a591282743920b5c (diff)
downloadexternal_mesa3d-2524f9b80d5763377600e15e584152253420ad25.zip
external_mesa3d-2524f9b80d5763377600e15e584152253420ad25.tar.gz
external_mesa3d-2524f9b80d5763377600e15e584152253420ad25.tar.bz2
mesa/main: Silence unused parameter warning
Just remove the _mesa_free_lighting_data function. The body has been empty since the shine table was moved into the tnl module (commit ba1d921). main/light.c:1216:46: warning: unused parameter 'ctx' [-Wunused-parameter] _mesa_free_lighting_data( struct gl_context *ctx ) ^ Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/main/light.h')
-rw-r--r--src/mesa/main/light.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/main/light.h b/src/mesa/main/light.h
index c6fba2e..d009aa1 100644
--- a/src/mesa/main/light.h
+++ b/src/mesa/main/light.h
@@ -102,8 +102,6 @@ extern void _mesa_update_color_material( struct gl_context *ctx,
extern void _mesa_init_lighting( struct gl_context *ctx );
-extern void _mesa_free_lighting_data( struct gl_context *ctx );
-
extern void _mesa_allow_light_in_model( struct gl_context *ctx, GLboolean flag );
#endif