projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97992b0
)
mesa: remove #undef CONST in get.c
author
Brian Paul
<brianp@vmware.com>
Thu, 6 Sep 2012 02:26:28 +0000
(20:26 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 6 Sep 2012 03:20:31 +0000
(21:20 -0600)
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/get.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/get.c
b/src/mesa/main/get.c
index fe1035be8acab3fb83a0527ea1bfc34eddab81c1..24d2a18fef3e1ca29df4b5a13fbda98ec15b33b0 100644
(file)
--- a/
src/mesa/main/get.c
+++ b/
src/mesa/main/get.c
@@
-61,8
+61,6
@@
* is about as concise as the specification in the old python script.
*/
-#undef CONST
-
#define FLOAT_TO_BOOLEAN(X) ( (X) ? GL_TRUE : GL_FALSE )
#define FLOAT_TO_FIXED(F) ( ((F) * 65536.0f > INT_MAX) ? INT_MAX : \
((F) * 65536.0f < INT_MIN) ? INT_MIN : \