wgl: Enable WGL_EXT_swap_control by default even when the GLX version isn't there.

This commit is contained in:
Roderick Colenbrander 2007-07-28 00:32:32 +02:00 committed by Alexandre Julliard
parent 96f9cceb68
commit daaf08f0d2
1 changed files with 3 additions and 2 deletions

View File

@ -3037,7 +3037,8 @@ static void X11DRV_WineGL_LoadExtensions(void)
register_extension(&WGL_EXT_extensions_string); register_extension(&WGL_EXT_extensions_string);
if (glxRequireExtension("GLX_SGI_swap_control")) /* Load this extension even when it isn't backed by a GLX extension because it is has been around for ages.
* Games like Call of Duty and K.O.T.O.R. rely on it. Further our emulation is good enough. */
register_extension(&WGL_EXT_swap_control); register_extension(&WGL_EXT_swap_control);
/* The OpenGL extension GL_NV_vertex_array_range adds wgl/glX functions which aren't exported as 'real' wgl/glX extensions. */ /* The OpenGL extension GL_NV_vertex_array_range adds wgl/glX functions which aren't exported as 'real' wgl/glX extensions. */