diff options
author | Brian Paul <[email protected]> | 2000-02-21 14:46:28 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-02-21 14:46:28 +0000 |
commit | 5df6816e2c3e5c71d4f2e5f28c964615029d7f58 (patch) | |
tree | feeaa3b2540521617e937db1b0c6fe2bef9b0362 /src/mesa/main | |
parent | 21ab2588217e89f950bff32c386525292f9f773e (diff) |
added CHAN_MAX, CHAN_MAXF
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/config.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index a80c74dc1b2..8c4af7615a4 100644 --- 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) /* |