Added wglGetExtensionsStringARB.

This commit is contained in:
Michael Schlüter 2003-05-07 03:18:51 +00:00 committed by Alexandre Julliard
parent fb3080a2f3
commit 5e8d015a8c
4 changed files with 13 additions and 2 deletions

View File

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

View File

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

View File

@ -653,7 +653,7 @@ static BOOL process_attach(void)
} }
/* Some WGL extensions... */ /* Some WGL extensions... */
static const char *WGL_extensions = ""; static const char *WGL_extensions = "WGL_ARB_extensions_string WGL_EXT_extensions_string";
const char * WINAPI wglGetExtensionsStringEXT(void) { const char * WINAPI wglGetExtensionsStringEXT(void) {
TRACE("() returning \"%s\"\n", WGL_extensions); TRACE("() returning \"%s\"\n", WGL_extensions);
@ -666,6 +666,15 @@ static void process_detach(void)
glXDestroyContext(default_display, default_cx); glXDestroyContext(default_display, default_cx);
} }
/***********************************************************************
* wglGetExtensionsStringARB(OPENGL32.@)
*/
const char * WINAPI wglGetExtensionsStringARB(HDC hdc) {
return wglGetExtensionsStringEXT();
}
/*********************************************************************** /***********************************************************************
* OpenGL initialisation routine * OpenGL initialisation routine
*/ */

View File

@ -112,6 +112,6 @@ BOOL WINAPI wglUseFontOutlines(HDC hdc,
FLOAT extrusion, FLOAT extrusion,
int format, int format,
LPGLYPHMETRICSFLOAT lpgmf) ; LPGLYPHMETRICSFLOAT lpgmf) ;
const char * WINAPI wglGetExtensionsStringARB(HDC hdc) ;
#endif /* __DLLS_OPENGL32_WGL_H */ #endif /* __DLLS_OPENGL32_WGL_H */