diff options
author | Sven Gothel <[email protected]> | 2001-02-23 05:08:10 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2001-02-23 05:08:10 +0000 |
commit | 82cd20ed209f12e22e2f5a92719b3be2bb92d8ed (patch) | |
tree | 6db7f6e46a2195c49bd20e4c6b42c9b206a920fb /CNativeCode/OpenGL_Win32_common.h | |
parent | 70be669b0db3713117982dbeeadbb91ed670e901 (diff) |
Version 2.6.0.0
Diffstat (limited to 'CNativeCode/OpenGL_Win32_common.h')
-rwxr-xr-x | CNativeCode/OpenGL_Win32_common.h | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/CNativeCode/OpenGL_Win32_common.h b/CNativeCode/OpenGL_Win32_common.h index ed7287f..9e99aed 100755 --- a/CNativeCode/OpenGL_Win32_common.h +++ b/CNativeCode/OpenGL_Win32_common.h @@ -6,16 +6,20 @@ #include <wingdi.h> +LIBAPI void LIBAPIENTRY setPixelFormatByGLCapabilities( + PIXELFORMATDESCRIPTOR *pfd, + GLCapabilities *glCaps, + jboolean offScreenRenderer, + HDC hdc); + // Set Pixel Format function - forward declaration -LIBAPI void LIBAPIENTRY SetDCPixelFormat(HDC hDC, jboolean doubleBuffer, - jboolean stereo, jint stencilBits, jboolean offScreenRenderer,
- jboolean verbose); +LIBAPI void LIBAPIENTRY SetDCPixelFormat(HDC hDC, GLCapabilities *glCaps, + jboolean offScreenRenderer, jboolean verbose); LIBAPI HPALETTE LIBAPIENTRY GetOpenGLPalette(HDC hDC); -LIBAPI HGLRC LIBAPIENTRY get_GC( HDC *hDC, jboolean doubleBuffer, - jboolean stereo, jint stencilBits, HGLRC shareWith, - jboolean offScreenRenderer, +LIBAPI HGLRC LIBAPIENTRY get_GC( HDC *hDC, GLCapabilities *glCaps, + HGLRC shareWith, jboolean offScreenRenderer, int width, int height, HBITMAP *pix, jboolean verbose); @@ -41,4 +45,6 @@ LIBAPI void LIBAPIENTRY resizeDIB(HDC hDC, HBITMAP *hOldBitmap, LIBAPI HPALETTE LIBAPIENTRY setupPalette(HDC hDC); +LIBAPI jboolean LIBAPIENTRY setGLCapabilities ( HDC hdc, int nPixelFormat, + GLCapabilities *glCaps ); #endif |