Add wglGetExtensionsStringARB to opengl

Lionel Ulmer lionel.ulmer at
Sat May 3 15:44:44 CDT 2003

> this patch adds wglGetExtensionsStringARB to the opengl.dll. I don't
> know if it really does all in the proper way. So somebody with more
> opengl experiences should take a look at the patch before including it.

Well, I think the best way would be to do something like that :

Index: dlls/opengl32/opengl32.spec
RCS file: /home/wine/wine/dlls/opengl32/opengl32.spec,v
retrieving revision 1.19
diff -u -r1.19 opengl32.spec
--- dlls/opengl32/opengl32.spec 20 Mar 2003 03:53:13 -0000      1.19
+++ dlls/opengl32/opengl32.spec 3 May 2003 20:41:57 -0000
@@ -6,6 +6,7 @@
 @  stdcall wglGetCurrentContext()
 @  stdcall wglGetCurrentDC()
 @  stdcall wglGetExtensionsStringEXT()
+@  stdcall wglGetExtensionsStringARB() wglGetExtensionsStringEXT
 @  stdcall wglGetLayerPaletteEntries(long long long long ptr)
 @  stdcall wglGetProcAddress(str)
 @  stdcall wglMakeCurrent(long long)

Could you try if this works for you ?

Basically, your patch is wrong because you return OpenGL extensions whereas
this function should return WGL extensions (and as we do not support any for
now, we return an empty string).

Moreover, Wine already supported 'wglGetExtensionsStringEXT' (needed by some
games), so I just told here that 'wglGetExtensionsStringARB' is a duplicate
of the 'wglGetExtensionsStringEXT' function.


		 Lionel Ulmer -

More information about the wine-devel mailing list