diff options
author | Brian Paul <[email protected]> | 2000-02-25 20:31:11 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-02-25 20:31:11 +0000 |
commit | 9f9de170f22f4bc7fc6a31406842fa32b4a92ade (patch) | |
tree | a39363da80eb9217d73565db39ac8220213fad99 /include/GL/xmesa_xf86.h | |
parent | f9db0039b161759892e5e9b04334de89ab448811 (diff) |
removed the GET_BITS_PER_PIXEL macro
Diffstat (limited to 'include/GL/xmesa_xf86.h')
-rw-r--r-- | include/GL/xmesa_xf86.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/include/GL/xmesa_xf86.h b/include/GL/xmesa_xf86.h index c52de765357..2be3efe78d1 100644 --- a/include/GL/xmesa_xf86.h +++ b/include/GL/xmesa_xf86.h @@ -30,7 +30,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * Authors: * Kevin E. Martin <[email protected]> * - * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/include/GL/xmesa_xf86.h,v 1.3 2000/01/17 23:22:57 brianp Exp $ + * $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/include/GL/xmesa_xf86.h,v 1.4 2000/02/25 20:31:11 brianp Exp $ */ #ifndef _XMESA_XF86_H_ @@ -179,13 +179,6 @@ do { \ #define GET_REDMASK(__v) __v->visinfo->redMask #define GET_GREENMASK(__v) __v->visinfo->greenMask #define GET_BLUEMASK(__v) __v->visinfo->blueMask - -/*XXX this was wrong. However, using nplanes instead may fail when - * we have overlay planes in the future! - */ -/*#define GET_BITS_PER_PIXEL(__v) __v->visinfo->bitsPerRGBValue*/ -#define GET_BITS_PER_PIXEL(__v) __v->visinfo->nplanes - #define GET_VISUAL_CLASS(__v) __v->visinfo->class #define GET_VISUAL_DEPTH(__v) __v->visinfo->nplanes #define GET_BLACK_PIXEL(__v) __v->display->blackPixel |