diff options
author | Marek Olšák <maraeo@gmail.com> | 2011-02-17 02:23:05 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2011-02-17 02:23:05 +0100 |
commit | 52a51e49f734711ca595f832f1d20f8fb238bcfd (patch) | |
tree | cbdfb707c07769ba798c9f0c2a71c00c895607a7 /tests/texturing/texture-integer.c | |
parent | 9ecf09acb8798753b6f33d89eba3e6798ea06f93 (diff) |
Remove unnecessary OpenGL extension defines
Diffstat (limited to 'tests/texturing/texture-integer.c')
-rw-r--r-- | tests/texturing/texture-integer.c | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/tests/texturing/texture-integer.c b/tests/texturing/texture-integer.c index edffdc97e..345d3b01b 100644 --- a/tests/texturing/texture-integer.c +++ b/tests/texturing/texture-integer.c @@ -29,16 +29,6 @@ #include "piglit-util.h" -/* These are missing in some versions of glext.h */ -#ifndef GL_MIN_PROGRAM_TEXEL_OFFSET_EXT -#define GL_MIN_PROGRAM_TEXEL_OFFSET_EXT 0x8904 -#endif - -#ifndef GL_MAX_PROGRAM_TEXEL_OFFSET_EXT -#define GL_MAX_PROGRAM_TEXEL_OFFSET_EXT 0x8905 -#endif - - #define ELEMENTS(ARRAY) (sizeof(ARRAY) / sizeof(ARRAY[0])) @@ -548,19 +538,19 @@ test_limits(void) { GLint val = 0; - glGetIntegerv(GL_MIN_PROGRAM_TEXEL_OFFSET_EXT, &val); + glGetIntegerv(GL_MIN_PROGRAM_TEXEL_OFFSET, &val); if (val > -8) { fprintf(stderr, - "%s failure: query of GL_MIN_PROGRAM_TEXEL_OFFSET_EXT " + "%s failure: query of GL_MIN_PROGRAM_TEXEL_OFFSET " "returned %d\n", TestName, val); return GL_FALSE; } - glGetIntegerv(GL_MAX_PROGRAM_TEXEL_OFFSET_EXT, &val); + glGetIntegerv(GL_MAX_PROGRAM_TEXEL_OFFSET, &val); if (val < 7) { fprintf(stderr, - "%s failure: query of GL_MAX_PROGRAM_TEXEL_OFFSET_EXT " + "%s failure: query of GL_MAX_PROGRAM_TEXEL_OFFSET " "returned %d\n", TestName, val); return GL_FALSE; |