From: Jacek Caban jacek@codeweavers.com
--- dlls/opengl32/make_opengl | 1 + dlls/opengl32/unix_thunks.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/dlls/opengl32/make_opengl b/dlls/opengl32/make_opengl index 204e226922c..7cd773c8e30 100755 --- a/dlls/opengl32/make_opengl +++ b/dlls/opengl32/make_opengl @@ -802,6 +802,7 @@ sub needs_wrapper($$) { my ($name, $func) = @_;
+ return 0 if defined $manual_win_functions{$name}; return 1 if defined $manual_unix_thunks{$name};
# check if return value needs special handling diff --git a/dlls/opengl32/unix_thunks.h b/dlls/opengl32/unix_thunks.h index 5b91de1ee20..c93c3dc34e7 100644 --- a/dlls/opengl32/unix_thunks.h +++ b/dlls/opengl32/unix_thunks.h @@ -2,9 +2,7 @@
extern BOOL wrap_wglCopyContext( TEB *teb , HGLRC hglrcSrc, HGLRC hglrcDst, UINT mask ); extern HGLRC wrap_wglCreateContext( TEB *teb , HDC hDc ); -extern HGLRC wrap_wglCreateLayerContext( TEB *teb , HDC hDc, int level ); extern BOOL wrap_wglDeleteContext( TEB *teb , HGLRC oldContext ); -extern HGLRC wrap_wglGetCurrentContext( TEB *teb); extern PROC wrap_wglGetProcAddress( TEB *teb , LPCSTR lpszProc ); extern BOOL wrap_wglMakeCurrent( TEB *teb , HDC hDc, HGLRC newContext ); extern BOOL wrap_wglShareLists( TEB *teb , HGLRC hrcSrvShare, HGLRC hrcSrvSource );