Support 'stub' wglGetExtensionsStringEXT function.

This commit is contained in:
Lionel Ulmer 2003-03-06 22:48:54 +00:00 committed by Alexandre Julliard
parent 8c2ec131a8
commit 649c3d3e3e
3 changed files with 11 additions and 0 deletions

View File

@ -517,6 +517,7 @@ print SPEC "@ stdcall wglCreateContext(long) wglCreateContext
@ stdcall wglDescribeLayerPlane(long long long long ptr) wglDescribeLayerPlane
@ stdcall wglGetCurrentContext() wglGetCurrentContext
@ stdcall wglGetCurrentDC() wglGetCurrentDC
@ stdcall wglGetExtensionsStringEXT() wglGetExtensionsStringEXT
@ stdcall wglGetLayerPaletteEntries(long long long long ptr) wglGetLayerPaletteEntries
@ stdcall wglGetProcAddress(str) wglGetProcAddress
@ stdcall wglMakeCurrent(long long) wglMakeCurrent

View File

@ -5,6 +5,7 @@
@ stdcall wglDescribeLayerPlane(long long long long ptr) wglDescribeLayerPlane
@ stdcall wglGetCurrentContext() wglGetCurrentContext
@ stdcall wglGetCurrentDC() wglGetCurrentDC
@ stdcall wglGetExtensionsStringEXT() wglGetExtensionsStringEXT
@ stdcall wglGetLayerPaletteEntries(long long long long ptr) wglGetLayerPaletteEntries
@ stdcall wglGetProcAddress(str) wglGetProcAddress
@ stdcall wglMakeCurrent(long long) wglMakeCurrent

View File

@ -644,6 +644,15 @@ static BOOL process_attach(void)
return TRUE;
}
/* Some WGL extensions... */
static const char *WGL_extensions = "";
const char * WINAPI wglGetExtensionsStringEXT(void) {
TRACE("() returning \"%s\"\n", WGL_extensions);
return WGL_extensions;
}
static void process_detach(void)
{
glXDestroyContext(default_display, default_cx);