diff options
author | Kenneth Russel <[email protected]> | 2004-04-29 08:14:19 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2004-04-29 08:14:19 +0000 |
commit | 595577662881914de98204d0ef43e329e365d021 (patch) | |
tree | b511c0b092d4dd5d5445abb80b00027c0cc0b8f6 /make/stub_includes/opengl/GL/wglext.h | |
parent | 89428de3de8c83eb4ece9a05a1ef5b2ef9cf7cd7 (diff) |
Fixed breakage of vertex_array_range extension during last update of
OpenGL headers
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@127 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/stub_includes/opengl/GL/wglext.h')
-rw-r--r-- | make/stub_includes/opengl/GL/wglext.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/make/stub_includes/opengl/GL/wglext.h b/make/stub_includes/opengl/GL/wglext.h index af10122fb..8541f4a47 100644 --- a/make/stub_includes/opengl/GL/wglext.h +++ b/make/stub_includes/opengl/GL/wglext.h @@ -475,8 +475,8 @@ typedef int (WINAPI * PFNWGLGETSWAPINTERVALEXTPROC) (void); #define WGL_EXT_depth_float 1 #endif -#ifndef WGL_NV_vertex_array_range -#define WGL_NV_vertex_array_range 1 +#ifndef GL_NV_vertex_array_range +#define GL_NV_vertex_array_range 1 #ifdef WGL_WGLEXT_PROTOTYPES extern void* WINAPI wglAllocateMemoryNV (GLsizei, GLfloat, GLfloat, GLfloat); extern void WINAPI wglFreeMemoryNV (void *); @@ -484,6 +484,8 @@ extern void WINAPI wglFreeMemoryNV (void *); typedef void* (WINAPI * PFNWGLALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority); typedef void (WINAPI * PFNWGLFREEMEMORYNVPROC) (void *pointer); #endif +/* Hack to allow the platform-independent routines to be picked up from other headers */ +#undef GL_NV_vertex_array_range #ifndef WGL_3DFX_multisample #define WGL_3DFX_multisample 1 |