[Mesa-dev] [PATCH v2 08/12] gl.h: add missing GL_POLYGON_OFFSET_BIAS definition
Ian Romanick
idr at freedesktop.org
Mon Sep 10 00:07:38 PDT 2012
On 09/10/2012 09:41 AM, Imre Deak wrote:
> Signed-off-by: Imre Deak <imre.deak at intel.com>
> ---
> include/GL/gl.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/GL/gl.h b/include/GL/gl.h
> index e65e1bc..850fe4b 100644
> --- a/include/GL/gl.h
> +++ b/include/GL/gl.h
> @@ -276,6 +276,7 @@ typedef double GLclampd; /* double precision float in [0,1] */
> #define GL_CULL_FACE_MODE 0x0B45
> #define GL_FRONT_FACE 0x0B46
> #define GL_POLYGON_OFFSET_FACTOR 0x8038
> +#define GL_POLYGON_OFFSET_BIAS 0x8039
NAK. There is no such enum name. There was GL_POLYGON_OFFSET_BIAS_EXT
in GL_EXT_polygon_offset, but that part of the extension wasn't brought
into the core spec.
> #define GL_POLYGON_OFFSET_UNITS 0x2A00
> #define GL_POLYGON_OFFSET_POINT 0x2A01
> #define GL_POLYGON_OFFSET_LINE 0x2A02
>
More information about the mesa-dev
mailing list