mesa: remove needless casts in save_EdgeFlag()

This commit is contained in:
Brian Paul
2012-05-08 09:32:43 -06:00
parent 2428de1c50
commit ad5e3609d4

View File

@@ -5673,7 +5673,7 @@ save_Indexfv(const GLfloat * v)
static void GLAPIENTRY
save_EdgeFlag(GLboolean x)
{
save_Attr1fNV(VERT_ATTRIB_EDGEFLAG, x ? (GLfloat)1.0 : (GLfloat)0.0);
save_Attr1fNV(VERT_ATTRIB_EDGEFLAG, x ? 1.0f : 0.0f);
}