mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
Fix wglGetExtensionsStringARB and wglGetExtensionsStringEXT so it tell we support all wgl*
but we do not support all of them yet. svn path=/trunk/; revision=30768
This commit is contained in:
+17
-6
@@ -692,7 +692,7 @@ WINGDIAPI BOOL GLAPIENTRY wglRealizeLayerPalette(HDC hdc,
|
||||
}
|
||||
|
||||
WINGDIAPI BOOL GLAPIENTRY wglSwapLayerBuffers(HDC hdc,
|
||||
UINT fuPlanes)
|
||||
UINT fuPlanes)
|
||||
{
|
||||
(void) hdc; (void) fuPlanes;
|
||||
SetLastError(0);
|
||||
@@ -701,16 +701,27 @@ WINGDIAPI BOOL GLAPIENTRY wglSwapLayerBuffers(HDC hdc,
|
||||
|
||||
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
|
||||
|
||||
@@ -320,7 +320,7 @@ static struct {
|
||||
{"wglGetExtensionsStringEXT", (PROC)wglGetExtensionsStringEXT},
|
||||
{"wglSwapIntervalEXT", (PROC)wglSwapIntervalEXT},
|
||||
{"wglGetSwapIntervalEXT", (PROC)wglGetSwapIntervalEXT},
|
||||
// {"wglGetPixelFormatAttribivARB", (PROC)wglGetPixelFormatAttribivARB},
|
||||
// {"wglGetPixelFormatAttribivARB", (PROC)wglGetPixelFormatAttribivARB},
|
||||
// {"wglGetPixelFormatAttribfvARB", (PROC)wglGetPixelFormatAttribfvARB},
|
||||
{"wglChoosePixelFormatARB", (PROC)wglChoosePixelFormatARB},
|
||||
// {"wglCreatePbufferARB", (PROC)wglCreatePbufferARB},
|
||||
|
||||
Reference in New Issue
Block a user