diff options
author | Kenneth Russel <[email protected]> | 2001-11-11 21:30:13 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2001-11-11 21:30:13 +0000 |
commit | f610ac01f50165b2ea6bc4a81d02abf2e222d876 (patch) | |
tree | 2b54144d82803e6665a371b6eeeae6812a16e3ac /CNativeCode/gltool.h | |
parent | 3b0e7fd364c6d61b97f4f2daf405b30e662fddc7 (diff) |
Support for NVidia AllocateMemoryNV extension and fixed problem with extensions not being loaded
Diffstat (limited to 'CNativeCode/gltool.h')
-rwxr-xr-x | CNativeCode/gltool.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/CNativeCode/gltool.h b/CNativeCode/gltool.h index 6939e03..fa8a639 100755 --- a/CNativeCode/gltool.h +++ b/CNativeCode/gltool.h @@ -28,7 +28,7 @@ #include <string.h> #ifdef _WIN32_ - #include <windows.h>
+ #include <windows.h> #ifdef LIBAPIENTRY #undef LIBAPIENTRY @@ -81,14 +81,14 @@ #include "gl-disp-var.h" #include "glu-disp-var.h" - #ifndef GLDEBUG
+ #ifndef GLDEBUG #ifndef NDEBUG #define NDEBUG - #endif
- #else
- #ifdef NDEBUG
- #undef NDEBUG
- #endif
+ #endif + #else + #ifdef NDEBUG + #undef NDEBUG + #endif #endif #ifdef _WIN32_ @@ -122,8 +122,8 @@ (HWND wnd, const char *file, int line); #endif - LIBAPI void LIBAPIENTRY print_gl_error
- (const char *msg, const char *file, int line, GLenum errorcode);
+ LIBAPI void LIBAPIENTRY print_gl_error + (const char *msg, const char *file, int line, GLenum errorcode); LIBAPI void LIBAPIENTRY check_gl_error (const char *file, int line); @@ -150,5 +150,5 @@ const char *func, int *method, int debug, int verbose); LIBAPI void LIBAPIENTRY fetch_GL_FUNCS - (const char * libGLName, const char * libGLUName, int force); + (const char * libGLName, const char * libGLUName, int force, int reload); #endif |