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 wglGetCurrentDC()
@ stdcall wglGetExtensionsStringEXT()
@ stdcall wglGetExtensionsStringARB(long)
@ stdcall wglGetLayerPaletteEntries(long long long long ptr)
@ stdcall wglGetProcAddress(str)
@ stdcall wglMakeCurrent(long long)

View file

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

View file

@ -653,7 +653,7 @@ static BOOL process_attach(void)
}
/* 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) {
TRACE("() returning \"%s\"\n", WGL_extensions);
@ -666,6 +666,15 @@ static void process_detach(void)
glXDestroyContext(default_display, default_cx);
}
/***********************************************************************
* wglGetExtensionsStringARB(OPENGL32.@)
*/
const char * WINAPI wglGetExtensionsStringARB(HDC hdc) {
return wglGetExtensionsStringEXT();
}
/***********************************************************************
* OpenGL initialisation routine
*/

View file

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