diff options
author | Mathias Fröhlich <[email protected]> | 2011-12-26 21:45:56 +0100 |
---|---|---|
committer | Mathias Fröhlich <[email protected]> | 2011-12-26 21:46:56 +0100 |
commit | 5584a8eb196b2fc71c34e7a3becb5bc7a06ecd7c (patch) | |
tree | 43ab38af0eec37e43d1bb58df81b23f591567cfe /src/mesa/main/light.c | |
parent | 7ac114f94a8fac5fa7cc0e99bf6a3c03ec194650 (diff) |
mesa: remove unused _mesa_copy_materials.
Signed-off-by: Mathias Froehlich <[email protected]>
Diffstat (limited to 'src/mesa/main/light.c')
-rw-r--r-- | src/mesa/main/light.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mesa/main/light.c b/src/mesa/main/light.c index 60daa89a33f..bf4bee3d696 100644 --- a/src/mesa/main/light.c +++ b/src/mesa/main/light.c @@ -624,22 +624,6 @@ _mesa_material_bitmask( struct gl_context *ctx, GLenum face, GLenum pname, -/* Perform a straight copy between materials. - */ -void -_mesa_copy_materials( struct gl_material *dst, - const struct gl_material *src, - GLuint bitmask ) -{ - int i; - - for (i = 0 ; i < MAT_ATTRIB_MAX ; i++) - if (bitmask & (1<<i)) - COPY_4FV( dst->Attrib[i], src->Attrib[i] ); -} - - - /* Update derived values following a change in ctx->Light.Material */ void |