OSDN Git Service
(root)
/
android-x86
/
external-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
a90ff33
..
c1c65ea
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
);
}