summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_save_loopback.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/tnl/t_save_loopback.c')
-rw-r--r--src/mesa/tnl/t_save_loopback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_save_loopback.c b/src/mesa/tnl/t_save_loopback.c
index e1a60baaca..fec0ea5b64 100644
--- a/src/mesa/tnl/t_save_loopback.c
+++ b/src/mesa/tnl/t_save_loopback.c
@@ -169,7 +169,7 @@ static void index_attr1fv(GLcontext *ctx, GLint target, const GLfloat *v)
static void edgeflag_attr1fv(GLcontext *ctx, GLint target, const GLfloat *v)
{
- ctx->Exec->EdgeFlag((v[0] == 1.0));
+ ctx->Exec->EdgeFlag((GLboolean)(v[0] == 1.0));
}
struct loopback_attr {