winex11.Drv: Remove unneeded wgl exports.
This commit is contained in:
parent
9a71b483d3
commit
272196f514
|
@ -51,10 +51,8 @@ typedef struct wine_wgl_s {
|
|||
BOOL WINAPI (*p_wglDeleteContext)(HGLRC hglrc);
|
||||
HGLRC WINAPI (*p_wglGetCurrentContext)(void);
|
||||
HDC WINAPI (*p_wglGetCurrentDC)(void);
|
||||
HDC WINAPI (*p_wglGetCurrentReadDCARB)(void);
|
||||
PROC WINAPI (*p_wglGetProcAddress)(LPCSTR lpszProc);
|
||||
BOOL WINAPI (*p_wglMakeCurrent)(HDC hdc, HGLRC hglrc);
|
||||
BOOL WINAPI (*p_wglMakeContextCurrentARB)(HDC hDrawDC, HDC hReadDC, HGLRC hglrc);
|
||||
BOOL WINAPI (*p_wglShareLists)(HGLRC hglrc1, HGLRC hglrc2);
|
||||
BOOL WINAPI (*p_wglUseFontBitmapsA)(HDC hdc, DWORD first, DWORD count, DWORD listBase);
|
||||
BOOL WINAPI (*p_wglUseFontBitmapsW)(HDC hdc, DWORD first, DWORD count, DWORD listBase);
|
||||
|
@ -297,24 +295,6 @@ BOOL WINAPI wglMakeCurrent(HDC hdc, HGLRC hglrc) {
|
|||
return wine_wgl.p_wglMakeCurrent(hdc, hglrc);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* wglMakeContextCurrentARB (OPENGL32.@)
|
||||
*/
|
||||
BOOL WINAPI wglMakeContextCurrentARB(HDC hDrawDC, HDC hReadDC, HGLRC hglrc)
|
||||
{
|
||||
TRACE("hDrawDC: (%p), hReadDC: (%p), hglrc: (%p)\n", hDrawDC, hReadDC, hglrc);
|
||||
return wine_wgl.p_wglMakeContextCurrentARB(hDrawDC, hReadDC, hglrc);
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* wglGetCurrentReadDCARB (OPENGL32.@)
|
||||
*/
|
||||
HDC WINAPI wglGetCurrentReadDCARB(void)
|
||||
{
|
||||
TRACE("\n");
|
||||
return wine_wgl.p_wglGetCurrentReadDCARB();
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* wglRealizeLayerPalette (OPENGL32.@)
|
||||
*/
|
||||
|
@ -718,10 +698,8 @@ static BOOL process_attach(void)
|
|||
wine_wgl.p_wglDeleteContext = (void *)GetProcAddress(mod, "wglDeleteContext");
|
||||
wine_wgl.p_wglGetCurrentContext = (void *)GetProcAddress(mod, "wglGetCurrentContext");
|
||||
wine_wgl.p_wglGetCurrentDC = (void *)GetProcAddress(mod, "wglGetCurrentDC");
|
||||
wine_wgl.p_wglGetCurrentReadDCARB = (void *)GetProcAddress(mod, "wglGetCurrentReadDCARB");
|
||||
wine_wgl.p_wglGetProcAddress = (void *)GetProcAddress(mod, "wglGetProcAddress");
|
||||
wine_wgl.p_wglMakeCurrent = (void *)GetProcAddress(mod, "wglMakeCurrent");
|
||||
wine_wgl.p_wglMakeContextCurrentARB = (void *)GetProcAddress(mod, "wglMakeContextCurrentARB");
|
||||
wine_wgl.p_wglShareLists = (void *)GetProcAddress(mod, "wglShareLists");
|
||||
wine_wgl.p_wglUseFontBitmapsA = (void*)GetProcAddress(mod, "wglUseFontBitmapsA");
|
||||
wine_wgl.p_wglUseFontBitmapsW = (void*)GetProcAddress(mod, "wglUseFontBitmapsW");
|
||||
|
|
|
@ -1320,7 +1320,7 @@ HDC WINAPI X11DRV_wglGetCurrentDC(void) {
|
|||
}
|
||||
|
||||
/* OpenGL32 wglGetCurrentReadDCARB */
|
||||
HDC WINAPI X11DRV_wglGetCurrentReadDCARB(void)
|
||||
static HDC WINAPI X11DRV_wglGetCurrentReadDCARB(void)
|
||||
{
|
||||
GLXDrawable gl_d;
|
||||
HDC ret;
|
||||
|
@ -1417,7 +1417,7 @@ BOOL WINAPI X11DRV_wglMakeCurrent(HDC hdc, HGLRC hglrc) {
|
|||
}
|
||||
|
||||
/* OpenGL32 wglMakeContextCurrentARB */
|
||||
BOOL WINAPI X11DRV_wglMakeContextCurrentARB(HDC hDrawDC, HDC hReadDC, HGLRC hglrc)
|
||||
static BOOL WINAPI X11DRV_wglMakeContextCurrentARB(HDC hDrawDC, HDC hReadDC, HGLRC hglrc)
|
||||
{
|
||||
BOOL ret;
|
||||
TRACE("(%p,%p,%p)\n", hDrawDC, hReadDC, hglrc);
|
||||
|
@ -2816,13 +2816,6 @@ HDC WINAPI X11DRV_wglGetCurrentDC(void) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
/* OpenGL32 wglGetCurrentReadDCARB */
|
||||
HDC WINAPI X11DRV_wglGetCurrentReadDCARB(void)
|
||||
{
|
||||
ERR_(opengl)("No OpenGL support compiled in.\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* OpenGL32: wglGetProcAddress */
|
||||
PROC X11DRV_wglGetProcAddress(LPCSTR lpszProc) {
|
||||
ERR_(opengl)("No OpenGL support compiled in.\n");
|
||||
|
@ -2835,13 +2828,6 @@ BOOL WINAPI X11DRV_wglMakeCurrent(HDC hdc, HGLRC hglrc) {
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
/* OpenGL32 wglMakeContextCurrentARB */
|
||||
BOOL WINAPI X11DRV_wglMakeContextCurrentARB(HDC hDrawDC, HDC hReadDC, HGLRC hglrc)
|
||||
{
|
||||
ERR_(opengl)("No OpenGL support compiled in.\n");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* OpenGL32 wglShaderLists */
|
||||
BOOL WINAPI X11DRV_wglShareLists(HGLRC hglrc1, HGLRC hglrc2) {
|
||||
ERR_(opengl)("No OpenGL support compiled in.\n");
|
||||
|
|
|
@ -133,10 +133,8 @@
|
|||
@ cdecl wglDeleteContext(long) X11DRV_wglDeleteContext
|
||||
@ cdecl wglGetCurrentContext() X11DRV_wglGetCurrentContext
|
||||
@ cdecl wglGetCurrentDC() X11DRV_wglGetCurrentDC
|
||||
@ cdecl wglGetCurrentReadDCARB() X11DRV_wglGetCurrentReadDCARB
|
||||
@ cdecl wglGetIntegerv(long ptr) X11DRV_wglGetIntegerv
|
||||
@ cdecl wglGetProcAddress(ptr) X11DRV_wglGetProcAddress
|
||||
@ cdecl wglMakeContextCurrentARB(long long long) X11DRV_wglMakeContextCurrentARB
|
||||
@ cdecl wglMakeCurrent(long long) X11DRV_wglMakeCurrent
|
||||
@ cdecl wglShareLists(long long) X11DRV_wglShareLists
|
||||
@ cdecl wglUseFontBitmapsA(long long long long) X11DRV_wglUseFontBitmapsA
|
||||
|
|
Loading…
Reference in New Issue