projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2428de1
)
mesa: remove needless casts in save_EdgeFlag()
author
Brian Paul
<brianp@vmware.com>
Tue, 8 May 2012 15:32:43 +0000
(09:32 -0600)
committer
Brian Paul
<brianp@vmware.com>
Tue, 8 May 2012 18:12:03 +0000
(12:12 -0600)
src/mesa/main/dlist.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/dlist.c
b/src/mesa/main/dlist.c
index a90ff33bd3057557b15a96d373ac0733b36d5d81..c1c65ea25d2814a7262eec105634f2f9254f1715 100644
(file)
--- a/
src/mesa/main/dlist.c
+++ b/
src/mesa/main/dlist.c
@@
-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
);
}