mesa: remove needless casts in save_EdgeFlag()
authorBrian Paul <brianp@vmware.com>
Tue, 8 May 2012 15:32:43 +0000 (09:32 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 8 May 2012 18:12:03 +0000 (12:12 -0600)
src/mesa/main/dlist.c

index a90ff33bd3057557b15a96d373ac0733b36d5d81..c1c65ea25d2814a7262eec105634f2f9254f1715 100644 (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);
 }