From c73a96c1a59c6817c588ceb93fb14a3a071764de Mon Sep 17 00:00:00 2001 From: Luke Benstead Date: Mon, 11 Mar 2019 19:36:07 +0000 Subject: [PATCH] Fix some more invalid GL constants --- include/gl.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/include/gl.h b/include/gl.h index 5828171..5a80a5d 100644 --- a/include/gl.h +++ b/include/gl.h @@ -104,9 +104,6 @@ __BEGIN_DECLS #define GL_TEXTURE_WRAP_T 0x2803 #define GL_TEXTURE_MAG_FILTER 0x2800 #define GL_TEXTURE_MIN_FILTER 0x2801 -#define GL_TEXTURE_FILTER GL_TEXTURE_MIN_FILTER -#define GL_FILTER_NONE 0x0 -#define GL_FILTER_BILINEAR 0x1 #define GL_REPEAT 0x2901 #define GL_CLAMP 0x2900 @@ -382,9 +379,9 @@ __BEGIN_DECLS #define GL_TRUE 1 /* Stubs for portability */ -#define GL_ALPHA_TEST 0 -#define GL_STENCIL_TEST 0 -#define GL_UNPACK_ALIGNMENT 0 +#define GL_ALPHA_TEST 0x0BC0 +#define GL_STENCIL_TEST 0x0B90 +#define GL_UNPACK_ALIGNMENT 0x0CF5 #define GLAPI extern #define APIENTRY