From: Brian Paul Date: Mon, 21 Feb 2000 14:46:28 +0000 (+0000) Subject: added CHAN_MAX, CHAN_MAXF X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5df6816e2c3e5c71d4f2e5f28c964615029d7f58;p=mesa.git added CHAN_MAX, CHAN_MAXF --- 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) /*