[OGL] Some new extension function...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



NR2003 asks for the 'wglGetExtensionsStringEXT' function. For the moment,
return a stub function that advertises no extensions :-)

                    Lionel
		    
Changelog:
 Support 'stub' wglGetExtensionsStringEXT function

-- 
		 Lionel Ulmer - http://www.bbrox.org/
--- ../wine_base/dlls/opengl32/make_opengl	Thu Mar  6 20:54:32 2003
+++ dlls/opengl32/make_opengl	Thu Mar  6 21:13:43 2003
@@ -517,6 +517,7 @@
 @  stdcall wglDescribeLayerPlane(long long long long ptr) wglDescribeLayerPlane
 @  stdcall wglGetCurrentContext() wglGetCurrentContext
 @  stdcall wglGetCurrentDC() wglGetCurrentDC
+@  stdcall wglGetExtensionsStringEXT() wglGetExtensionsStringEXT
 @  stdcall wglGetLayerPaletteEntries(long long long long ptr) wglGetLayerPaletteEntries
 @  stdcall wglGetProcAddress(str) wglGetProcAddress
 @  stdcall wglMakeCurrent(long long) wglMakeCurrent
--- ../wine_base/dlls/opengl32/opengl32.spec	Wed Feb 12 23:00:37 2003
+++ dlls/opengl32/opengl32.spec	Thu Mar  6 21:13:32 2003
@@ -5,6 +5,7 @@
 @  stdcall wglDescribeLayerPlane(long long long long ptr) wglDescribeLayerPlane
 @  stdcall wglGetCurrentContext() wglGetCurrentContext
 @  stdcall wglGetCurrentDC() wglGetCurrentDC
+@  stdcall wglGetExtensionsStringEXT() wglGetExtensionsStringEXT
 @  stdcall wglGetLayerPaletteEntries(long long long long ptr) wglGetLayerPaletteEntries
 @  stdcall wglGetProcAddress(str) wglGetProcAddress
 @  stdcall wglMakeCurrent(long long) wglMakeCurrent
--- ../wine_base/dlls/opengl32/wgl.c	Sat Dec 14 13:51:26 2002
+++ dlls/opengl32/wgl.c	Thu Mar  6 20:58:41 2003
@@ -644,6 +644,15 @@
   return TRUE;
 }
 
+/* Some WGL extensions... */
+static const char *WGL_extensions = "";
+
+const char * WINAPI wglGetExtensionsStringEXT(void) {
+    TRACE("() returning \"%s\"\n", WGL_extensions);
+
+    return WGL_extensions;
+}
+
 static void process_detach(void)
 {
   glXDestroyContext(default_display, default_cx);

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux