Make primitive constants match the spec

This commit is contained in:
Luke Benstead 2019-09-06 09:36:14 +01:00
parent 1d32834b52
commit 200db3593e

View File

@ -21,16 +21,16 @@ __BEGIN_DECLS
/* Primitive Types taken from GL for compatability */ /* Primitive Types taken from GL for compatability */
/* Not all types are implemented in Open GL DC V.1.0 */ /* Not all types are implemented in Open GL DC V.1.0 */
#define GL_POINTS 0x01 #define GL_POINTS 0x0000
#define GL_LINES 0x02 #define GL_LINES 0x0001
#define GL_LINE_LOOP 0x03 #define GL_LINE_LOOP 0x0002
#define GL_LINE_STRIP 0x04 #define GL_LINE_STRIP 0x0003
#define GL_TRIANGLES 0x05 #define GL_TRIANGLES 0x0004
#define GL_TRIANGLE_STRIP 0x06 #define GL_TRIANGLE_STRIP 0x0005
#define GL_TRIANGLE_FAN 0x07 #define GL_TRIANGLE_FAN 0x0006
#define GL_QUADS 0x08 #define GL_QUADS 0x0007
#define GL_QUAD_STRIP 0x09 #define GL_QUAD_STRIP 0x0008
#define GL_POLYGON 0x0A #define GL_POLYGON 0x0009
/* FrontFaceDirection */ /* FrontFaceDirection */
#define GL_CW 0x0900 #define GL_CW 0x0900