projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21ab258
)
added CHAN_MAX, CHAN_MAXF
author
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 21 Feb 2000 14:46:28 +0000
(14:46 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Mon, 21 Feb 2000 14:46:28 +0000
(14:46 +0000)
src/mesa/main/config.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/config.h
b/src/mesa/main/config.h
index a80c74dc1b24084e3078d55e80eea4ef3a4ba774..8c4af7615a432681f7f399bad11dc8d21f749aa2 100644
(file)
--- a/
src/mesa/main/config.h
+++ b/
src/mesa/main/config.h
@@
-1,4
+1,4
@@
-/* $Id: config.h,v 1.
5 2000/02/03 19:40:35
brianp Exp $ */
+/* $Id: config.h,v 1.
6 2000/02/21 14:46:28
brianp Exp $ */
/*
* Mesa 3-D graphics library
@@
-158,7
+158,8
@@
* Bits per color channel (must be 8 at this time!)
*/
#define CHAN_BITS 8
-
+#define CHAN_MAX ((1 << CHAN_BITS) - 1)
+#define CHAN_MAXF ((GLfloat) CHAN_MAX)
/*