mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
Remove WGL function pointers, remove HDC
This commit is contained in:
parent
e5b0473e4a
commit
8e508cf065
@ -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;
|
||||||
@ -674,4 +673,4 @@ extern convar_t *vid_brightness;
|
|||||||
extern convar_t *vid_gamma;
|
extern convar_t *vid_gamma;
|
||||||
extern convar_t *vid_mode;
|
extern convar_t *vid_mode;
|
||||||
|
|
||||||
#endif//GL_LOCAL_H
|
#endif//GL_LOCAL_H
|
||||||
|
Loading…
x
Reference in New Issue
Block a user