From 6cd866b0e69baabac52404076b987b55711efb12 Mon Sep 17 00:00:00 2001 From: Patrik Stridvall Date: Wed, 27 Nov 2002 20:21:24 +0000 Subject: [PATCH] Fixed some issues found by winapi_check. --- dlls/kernel/kernel32.spec | 1 - dlls/ntdll/ntdll.spec | 5 +++++ graphics/x11drv/opengl.c | 15 +++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) diff --git a/dlls/kernel/kernel32.spec b/dlls/kernel/kernel32.spec index e9dd6cf59e5..63445268783 100644 --- a/dlls/kernel/kernel32.spec +++ b/dlls/kernel/kernel32.spec @@ -1065,4 +1065,3 @@ @ cdecl LOCAL_Unlock(long long) LOCAL_Unlock @ stdcall NE_DefResourceHandler(long long long) NE_DefResourceHandler @ cdecl SELECTOR_AllocBlock(ptr long long) SELECTOR_AllocBlock -@ cdecl VIRTUAL_SetFaultHandler(ptr ptr ptr) VIRTUAL_SetFaultHandler diff --git a/dlls/ntdll/ntdll.spec b/dlls/ntdll/ntdll.spec index be53d19160b..ae990b9e808 100644 --- a/dlls/ntdll/ntdll.spec +++ b/dlls/ntdll/ntdll.spec @@ -1044,3 +1044,8 @@ # signal handling @ cdecl __wine_set_signal_handler(long ptr) __wine_set_signal_handler + +################################################################ +# Wine dll separation hacks, these will go away, don't use them +# +@ cdecl VIRTUAL_SetFaultHandler(ptr ptr ptr) VIRTUAL_SetFaultHandler diff --git a/graphics/x11drv/opengl.c b/graphics/x11drv/opengl.c index 5023dddbf5e..1b413eddb16 100644 --- a/graphics/x11drv/opengl.c +++ b/graphics/x11drv/opengl.c @@ -435,6 +435,9 @@ void X11DRV_OpenGL_Init(Display *display) { } +/*********************************************************************** + * ChoosePixelFormat (X11DRV.@) + */ int X11DRV_ChoosePixelFormat(X11DRV_PDEVICE *physDev, const PIXELFORMATDESCRIPTOR *ppfd) { ERR("No OpenGL support compiled in.\n"); @@ -442,6 +445,9 @@ int X11DRV_ChoosePixelFormat(X11DRV_PDEVICE *physDev, return 0; } +/*********************************************************************** + * DescribePixelFormat (X11DRV.@) + */ int X11DRV_DescribePixelFormat(X11DRV_PDEVICE *physDev, int iPixelFormat, UINT nBytes, @@ -451,12 +457,18 @@ int X11DRV_DescribePixelFormat(X11DRV_PDEVICE *physDev, return 0; } +/*********************************************************************** + * GetPixelFormat (X11DRV.@) + */ int X11DRV_GetPixelFormat(X11DRV_PDEVICE *physDev) { ERR("No OpenGL support compiled in.\n"); return 0; } +/*********************************************************************** + * SetPixelFormat (X11DRV.@) + */ BOOL X11DRV_SetPixelFormat(X11DRV_PDEVICE *physDev, int iPixelFormat, const PIXELFORMATDESCRIPTOR *ppfd) { @@ -465,6 +477,9 @@ BOOL X11DRV_SetPixelFormat(X11DRV_PDEVICE *physDev, return FALSE; } +/*********************************************************************** + * SwapBuffers (X11DRV.@) + */ BOOL X11DRV_SwapBuffers(X11DRV_PDEVICE *physDev) { ERR("No OpenGL support compiled in.\n");