Remove WGL function pointers, remove HDC
This commit is contained in:
parent
e5b0473e4a
commit
8e508cf065
2 changed files with 3 additions and 23 deletions
|
@ -1279,24 +1279,5 @@ void ( APIENTRY *pglGenVertexArrays )( GLsizei n, const GLuint *arrays );
|
||||||
GLboolean ( APIENTRY *pglIsVertexArray )( GLuint array );
|
GLboolean ( APIENTRY *pglIsVertexArray )( GLuint array );
|
||||||
void ( APIENTRY * pglSwapInterval) ( int interval );
|
void ( APIENTRY * pglSwapInterval) ( int interval );
|
||||||
extern void *pglGetProcAddress( const GLubyte * );
|
extern void *pglGetProcAddress( const GLubyte * );
|
||||||
BOOL ( WINAPI * pwglSwapBuffers)(HDC);
|
|
||||||
BOOL ( WINAPI * pwglCopyContext)(HGLRC, HGLRC, UINT);
|
|
||||||
HGLRC ( WINAPI * pwglCreateContext)(HDC);
|
|
||||||
HGLRC ( WINAPI * pwglCreateLayerContext)(HDC, int);
|
|
||||||
BOOL ( WINAPI * pwglDeleteContext)(HGLRC);
|
|
||||||
HGLRC ( WINAPI * pwglGetCurrentContext)(VOID);
|
|
||||||
PROC ( WINAPI * pwglGetProcAddress)(LPCSTR);
|
|
||||||
BOOL ( WINAPI * pwglMakeCurrent)(HDC, HGLRC);
|
|
||||||
BOOL ( WINAPI * pwglShareLists)(HGLRC, HGLRC);
|
|
||||||
BOOL ( WINAPI * pwglUseFontBitmaps)(HDC, DWORD, DWORD, DWORD);
|
|
||||||
BOOL ( WINAPI * pwglUseFontOutlines)(HDC, DWORD, DWORD, DWORD, FLOAT, FLOAT, int, LPGLYPHMETRICSFLOAT);
|
|
||||||
BOOL ( WINAPI * pwglDescribeLayerPlane)(HDC, int, int, UINT, LPLAYERPLANEDESCRIPTOR);
|
|
||||||
int ( WINAPI * pwglSetLayerPaletteEntries)(HDC, int, int, int, CONST COLORREF *);
|
|
||||||
int ( WINAPI * pwglGetLayerPaletteEntries)(HDC, int, int, int, COLORREF *);
|
|
||||||
BOOL ( WINAPI * pwglRealizeLayerPalette)(HDC, int, BOOL);
|
|
||||||
BOOL ( WINAPI * pwglSwapLayerBuffers)(HDC, UINT);
|
|
||||||
BOOL ( WINAPI * pwglSwapIntervalEXT)( int interval );
|
|
||||||
HGLRC ( WINAPI * pwglCreateContextAttribsARB)( HDC hDC, HGLRC hShareContext, const int *attribList );
|
|
||||||
const char *( WINAPI * pwglGetExtensionsStringEXT)( void );
|
|
||||||
|
|
||||||
#endif//GL_EXPORT_H
|
#endif//GL_EXPORT_H
|
|
@ -616,8 +616,7 @@ typedef struct
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
HDC hDC; // handle to device context
|
void* context; // handle to GL rendering context
|
||||||
HGLRC hGLRC; // handle to GL rendering context
|
|
||||||
|
|
||||||
int desktopBitsPixel;
|
int desktopBitsPixel;
|
||||||
int desktopWidth;
|
int desktopWidth;
|
||||||
|
|
Loading…
Add table
Reference in a new issue