aboutsummaryrefslogtreecommitdiffstats
path: root/CNativeCode/wgltool.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/wgltool.h
parent3b0e7fd364c6d61b97f4f2daf405b30e662fddc7 (diff)
Support for NVidia AllocateMemoryNV extension and fixed problem with extensions not being loaded
Diffstat (limited to 'CNativeCode/wgltool.h')
-rwxr-xr-xCNativeCode/wgltool.h84
1 files changed, 42 insertions, 42 deletions
diff --git a/CNativeCode/wgltool.h b/CNativeCode/wgltool.h
index cb64425..b44e366 100755
--- a/CNativeCode/wgltool.h
+++ b/CNativeCode/wgltool.h
@@ -13,13 +13,13 @@
#define _WGLTOOL_H
- #include "gltool.h"
+ #include "gltool.h"
- #include "glcaps.h"
+ #include "glcaps.h"
- #include <windows.h>
+ #include <windows.h>
#include <wingdi.h>
-
+
#include "wgl-disp-var.h"
/**
@@ -28,43 +28,43 @@
*/
LIBAPI void LIBAPIENTRY fetch_WGL_FUNCS
(const char * libGLName,
- const char * libGLUName, int force);
-
-
- LIBAPI void LIBAPIENTRY setPixelFormatByGLCapabilities(
- PIXELFORMATDESCRIPTOR *pfd,
- GLCapabilities *glCaps,
- int offScreenRenderer,
- HDC hdc);
-
- // Set Pixel Format function - forward declaration
- LIBAPI void LIBAPIENTRY SetDCPixelFormat(HDC hDC, GLCapabilities *glCaps,
- int offScreenRenderer, int verbose);
-
- LIBAPI HPALETTE LIBAPIENTRY GetOpenGLPalette(HDC hDC);
-
- LIBAPI HGLRC LIBAPIENTRY get_GC( HDC *hDC, GLCapabilities *glCaps,
- HGLRC shareWith, int offScreenRenderer,
- int width, int height, HBITMAP *pix,
- int verbose);
-
- LIBAPI int LIBAPIENTRY PixelFormatDescriptorFromDc( HDC Dc,
- PIXELFORMATDESCRIPTOR *Pfd );
-
- const char * LIBAPIENTRY GetTextualPixelFormatByHDC(HDC hdc);
-
- const char * LIBAPIENTRY GetTextualPixelFormatByPFD(
- PIXELFORMATDESCRIPTOR *ppfd, int format);
-
- LIBAPI void LIBAPIENTRY setupDIB(HDC hDCOrig, HDC hDC, HBITMAP * hBitmap,
- int width, int height);
-
- LIBAPI void LIBAPIENTRY resizeDIB(HDC hDC, HBITMAP *hOldBitmap,
- HBITMAP *hBitmap);
-
- LIBAPI HPALETTE LIBAPIENTRY setupPalette(HDC hDC);
-
- LIBAPI int LIBAPIENTRY setGLCapabilities ( HDC hdc, int nPixelFormat,
- GLCapabilities *glCaps );
+ const char * libGLUName, int force, int reload);
+
+
+ LIBAPI void LIBAPIENTRY setPixelFormatByGLCapabilities(
+ PIXELFORMATDESCRIPTOR *pfd,
+ GLCapabilities *glCaps,
+ int offScreenRenderer,
+ HDC hdc);
+
+ // Set Pixel Format function - forward declaration
+ LIBAPI void LIBAPIENTRY SetDCPixelFormat(HDC hDC, GLCapabilities *glCaps,
+ int offScreenRenderer, int verbose);
+
+ LIBAPI HPALETTE LIBAPIENTRY GetOpenGLPalette(HDC hDC);
+
+ LIBAPI HGLRC LIBAPIENTRY get_GC( HDC *hDC, GLCapabilities *glCaps,
+ HGLRC shareWith, int offScreenRenderer,
+ int width, int height, HBITMAP *pix,
+ int verbose);
+
+ LIBAPI int LIBAPIENTRY PixelFormatDescriptorFromDc( HDC Dc,
+ PIXELFORMATDESCRIPTOR *Pfd );
+
+ const char * LIBAPIENTRY GetTextualPixelFormatByHDC(HDC hdc);
+
+ const char * LIBAPIENTRY GetTextualPixelFormatByPFD(
+ PIXELFORMATDESCRIPTOR *ppfd, int format);
+
+ LIBAPI void LIBAPIENTRY setupDIB(HDC hDCOrig, HDC hDC, HBITMAP * hBitmap,
+ int width, int height);
+
+ LIBAPI void LIBAPIENTRY resizeDIB(HDC hDC, HBITMAP *hOldBitmap,
+ HBITMAP *hBitmap);
+
+ LIBAPI HPALETTE LIBAPIENTRY setupPalette(HDC hDC);
+
+ LIBAPI int LIBAPIENTRY setGLCapabilities ( HDC hdc, int nPixelFormat,
+ GLCapabilities *glCaps );
#endif