aboutsummaryrefslogtreecommitdiffstats
path: root/CNativeCode/gltool.h
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2001-11-11 21:30:13 +0000
committerKenneth Russel <[email protected]>2001-11-11 21:30:13 +0000
commitf610ac01f50165b2ea6bc4a81d02abf2e222d876 (patch)
tree2b54144d82803e6665a371b6eeeae6812a16e3ac /CNativeCode/gltool.h
parent3b0e7fd364c6d61b97f4f2daf405b30e662fddc7 (diff)
Support for NVidia AllocateMemoryNV extension and fixed problem with extensions not being loaded
Diffstat (limited to 'CNativeCode/gltool.h')
-rwxr-xr-xCNativeCode/gltool.h20
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