Added wglGetExtensionsStringARB.
This commit is contained in:
parent
fb3080a2f3
commit
5e8d015a8c
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in New Issue