From 200db3593e7c60168b431ebc6b68d34fa47cbb9e Mon Sep 17 00:00:00 2001 From: Luke Benstead Date: Fri, 6 Sep 2019 09:36:14 +0100 Subject: [PATCH] Make primitive constants match the spec --- include/gl.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/include/gl.h b/include/gl.h index 52740dc..a1d2f57 100644 --- a/include/gl.h +++ b/include/gl.h @@ -21,16 +21,16 @@ __BEGIN_DECLS /* Primitive Types taken from GL for compatability */ /* Not all types are implemented in Open GL DC V.1.0 */ -#define GL_POINTS 0x01 -#define GL_LINES 0x02 -#define GL_LINE_LOOP 0x03 -#define GL_LINE_STRIP 0x04 -#define GL_TRIANGLES 0x05 -#define GL_TRIANGLE_STRIP 0x06 -#define GL_TRIANGLE_FAN 0x07 -#define GL_QUADS 0x08 -#define GL_QUAD_STRIP 0x09 -#define GL_POLYGON 0x0A +#define GL_POINTS 0x0000 +#define GL_LINES 0x0001 +#define GL_LINE_LOOP 0x0002 +#define GL_LINE_STRIP 0x0003 +#define GL_TRIANGLES 0x0004 +#define GL_TRIANGLE_STRIP 0x0005 +#define GL_TRIANGLE_FAN 0x0006 +#define GL_QUADS 0x0007 +#define GL_QUAD_STRIP 0x0008 +#define GL_POLYGON 0x0009 /* FrontFaceDirection */ #define GL_CW 0x0900