Added wglGetExtensionsStringARB.
diff --git a/dlls/opengl32/make_opengl b/dlls/opengl32/make_opengl
index fb03be1..c7e9447 100755
--- a/dlls/opengl32/make_opengl
+++ b/dlls/opengl32/make_opengl
@@ -518,6 +518,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/opengl32.spec b/dlls/opengl32/opengl32.spec
index 8a7fb70..d342945 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 9124565..03e85c0 100644
--- a/dlls/opengl32/wgl.c
+++ b/dlls/opengl32/wgl.c
@@ -653,7 +653,7 @@
}
/* 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);
@@ -667,6 +667,15 @@
}
/***********************************************************************
+ * wglGetExtensionsStringARB(OPENGL32.@)
+ */
+const char * WINAPI wglGetExtensionsStringARB(HDC hdc) {
+
+ return wglGetExtensionsStringEXT();
+}
+
+
+/***********************************************************************
* OpenGL initialisation routine
*/
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
diff --git a/dlls/opengl32/wgl.h b/dlls/opengl32/wgl.h
index 8960e14..0d2781b 100644
--- a/dlls/opengl32/wgl.h
+++ b/dlls/opengl32/wgl.h
@@ -112,6 +112,6 @@
FLOAT extrusion,
int format,
LPGLYPHMETRICSFLOAT lpgmf) ;
+const char * WINAPI wglGetExtensionsStringARB(HDC hdc) ;
#endif /* __DLLS_OPENGL32_WGL_H */
-