From: Brian Paul Date: Mon, 12 Mar 2012 00:31:32 +0000 (-0600) Subject: mesa: renumber remaining DD_ constants X-Git-Tag: mesa-9.0~2792 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=92c42d8170711d76568cd8caeaeacb2442814f49;p=platform%2Fupstream%2Fmesa.git mesa: renumber remaining DD_ constants Reviewed-by: José Fonseca Reviewed-by: Eric Anholt --- diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index 0575af6..f76096a 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -3071,16 +3071,16 @@ struct gl_matrix_stack * Set in the __struct gl_contextRec::_TriangleCaps bitfield. */ /*@{*/ -#define DD_SEPARATE_SPECULAR 0x2 -#define DD_TRI_LIGHT_TWOSIDE 0x8 -#define DD_TRI_UNFILLED 0x10 -#define DD_TRI_SMOOTH 0x20 -#define DD_TRI_STIPPLE 0x40 -#define DD_TRI_OFFSET 0x80 -#define DD_LINE_SMOOTH 0x100 -#define DD_LINE_STIPPLE 0x200 -#define DD_POINT_SMOOTH 0x400 -#define DD_POINT_ATTEN 0x800 +#define DD_SEPARATE_SPECULAR (1 << 0) +#define DD_TRI_LIGHT_TWOSIDE (1 << 1) +#define DD_TRI_UNFILLED (1 << 2) +#define DD_TRI_SMOOTH (1 << 3) +#define DD_TRI_STIPPLE (1 << 4) +#define DD_TRI_OFFSET (1 << 5) +#define DD_LINE_SMOOTH (1 << 6) +#define DD_LINE_STIPPLE (1 << 7) +#define DD_POINT_SMOOTH (1 << 8) +#define DD_POINT_ATTEN (1 << 9) /*@}*/