diff options
author | Ian Romanick <[email protected]> | 2015-02-10 08:58:01 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2015-02-17 12:29:58 -0800 |
commit | 2524f9b80d5763377600e15e584152253420ad25 (patch) | |
tree | 9f4aa66cd9412221f8f78c8fb17ac34274891a30 /src/mesa/main/context.c | |
parent | 1424bbfb572e6165e57554c6a591282743920b5c (diff) |
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 <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 63d30a2c880..b186a1fad50 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1280,7 +1280,6 @@ _mesa_free_context_data( struct gl_context *ctx ) _mesa_free_attrib_data(ctx); _mesa_free_buffer_objects(ctx); - _mesa_free_lighting_data( ctx ); _mesa_free_eval_data( ctx ); _mesa_free_texture_data( ctx ); _mesa_free_matrix_data( ctx ); |