diff --git a/dlls/opengl32/make_opengl b/dlls/opengl32/make_opengl index fb03be1f946..c7e9447db21 100755 --- a/dlls/opengl32/make_opengl +++ b/dlls/opengl32/make_opengl @@ -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) diff --git a/dlls/opengl32/opengl32.spec b/dlls/opengl32/opengl32.spec index 8a7fb706749..d3429454684 100644 --- a/dlls/opengl32/opengl32.spec +++ b/dlls/opengl32/opengl32.spec @@ -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) diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c index 9124565f189..03e85c01b32 100644 --- a/dlls/opengl32/wgl.c +++ b/dlls/opengl32/wgl.c @@ -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 */ diff --git a/dlls/opengl32/wgl.h b/dlls/opengl32/wgl.h index 8960e142d5f..0d2781b70a2 100644 --- a/dlls/opengl32/wgl.h +++ b/dlls/opengl32/wgl.h @@ -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 */ -