mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
Added wglGetExtensionsStringARB.
This commit is contained in:
parent
fb3080a2f3
commit
5e8d015a8c
4 changed files with 13 additions and 2 deletions
|
@ -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 a new issue