Author: greatlrd
Date: Mon Nov 26 01:55:05 2007
New Revision: 30768
URL:
http://svn.reactos.org/svn/reactos?rev=30768&view=rev
Log:
Fix wglGetExtensionsStringARB and wglGetExtensionsStringEXT so it tell we support all
wgl*
but we do not support all of them yet.
Modified:
trunk/reactos/dll/3rdparty/mesa32/src/drivers/windows/gdi/wgl.c
trunk/reactos/dll/3rdparty/mesa32/src/drivers/windows/icd/icd.c
Modified: trunk/reactos/dll/3rdparty/mesa32/src/drivers/windows/gdi/wgl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/3rdparty/mesa32/src/dr…
==============================================================================
--- trunk/reactos/dll/3rdparty/mesa32/src/drivers/windows/gdi/wgl.c (original)
+++ trunk/reactos/dll/3rdparty/mesa32/src/drivers/windows/gdi/wgl.c Mon Nov 26 01:55:05
2007
@@ -692,7 +692,7 @@
}
WINGDIAPI BOOL GLAPIENTRY wglSwapLayerBuffers(HDC hdc,
- UINT fuPlanes)
+ UINT fuPlanes)
{
(void) hdc; (void) fuPlanes;
SetLastError(0);
@@ -701,16 +701,27 @@
WINGDIAPI const char * GLAPIENTRY wglGetExtensionsStringARB(HDC hdc)
{
- return "WGL_ARB_extensions_string";
+ /* WGL_ARB_render_texture */
+ return "WGL_ARB_extensions_string WGL_"
+ "ARB_pixel_format WGL_ARB_multi"
+ "sample WGL_EXT_swap_control WG"
+ "L_ARB_pbuffer WGL_ARB_render_t"
+ "exture WGL_ARB_make_current_re"
+ "ad WGL_EXT_extensions_string W"
+ "GL_ARB_buffer_region ";
}
GLAPI const char * GLAPIENTRY
wglGetExtensionsStringEXT (void)
{
- return
- // "WGL_EXT_swap_control "
- "WGL_EXT_extensions_string WGL_ARB_extensions_string"
- /*WGL_ARB_pixel_format WGL_ARB_render_texture WGL_ARB_pbuffer*/;
+ /* WGL_ARB_render_texture */
+ return "WGL_ARB_extensions_string WGL_"
+ "ARB_pixel_format WGL_ARB_multi"
+ "sample WGL_EXT_swap_control WG"
+ "L_ARB_pbuffer WGL_ARB_render_t"
+ "exture WGL_ARB_make_current_re"
+ "ad WGL_EXT_extensions_string W"
+ "GL_ARB_buffer_region ";
}
GLAPI BOOL GLAPIENTRY
Modified: trunk/reactos/dll/3rdparty/mesa32/src/drivers/windows/icd/icd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/3rdparty/mesa32/src/dr…
==============================================================================
--- trunk/reactos/dll/3rdparty/mesa32/src/drivers/windows/icd/icd.c (original)
+++ trunk/reactos/dll/3rdparty/mesa32/src/drivers/windows/icd/icd.c Mon Nov 26 01:55:05
2007
@@ -320,7 +320,7 @@
{"wglGetExtensionsStringEXT", (PROC)wglGetExtensionsStringEXT},
{"wglSwapIntervalEXT", (PROC)wglSwapIntervalEXT},
{"wglGetSwapIntervalEXT", (PROC)wglGetSwapIntervalEXT},
-// {"wglGetPixelFormatAttribivARB",
(PROC)wglGetPixelFormatAttribivARB},
+// {"wglGetPixelFormatAttribivARB",
(PROC)wglGetPixelFormatAttribivARB},
// {"wglGetPixelFormatAttribfvARB",
(PROC)wglGetPixelFormatAttribfvARB},
{"wglChoosePixelFormatARB", (PROC)wglChoosePixelFormatARB},
// {"wglCreatePbufferARB", (PROC)wglCreatePbufferARB},