summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_save_loopback.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2004-08-25 15:59:48 +0000
committerBrian Paul <[email protected]>2004-08-25 15:59:48 +0000
commita6c423d95663cfd8601cf84e10e8e1b12fa6ef15 (patch)
treee4d68d47d99c2f747619829a488dd0b6ba5cf361 /src/mesa/tnl/t_save_loopback.c
parent866286936ac34070826382f1d1cd28b613dd4bd1 (diff)
Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch 1015696)
Diffstat (limited to 'src/mesa/tnl/t_save_loopback.c')
-rw-r--r--src/mesa/tnl/t_save_loopback.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/tnl/t_save_loopback.c b/src/mesa/tnl/t_save_loopback.c
index 088b73609a6..18ecc3514fa 100644
--- a/src/mesa/tnl/t_save_loopback.c
+++ b/src/mesa/tnl/t_save_loopback.c
@@ -164,11 +164,13 @@ static attr_func mat_attrfunc[4] = {
static void index_attr1fv(GLcontext *ctx, GLint target, const GLfloat *v)
{
+ (void) target;
ctx->Exec->Indexf(v[0]);
}
static void edgeflag_attr1fv(GLcontext *ctx, GLint target, const GLfloat *v)
{
+ (void) target;
ctx->Exec->EdgeFlag((GLboolean)(v[0] == 1.0));
}