Module: wine
Branch: master
Commit: daaf08f0d276996f738b6b0a48786691926d8f40
URL: http://source.winehq.org/git/wine.git/?a=commit;h=daaf08f0d276996f738b6b0a4…
Author: Roderick Colenbrander <thunderbird2k(a)gmx.net>
Date: Sat Jul 28 00:32:32 2007 +0200
wgl: Enable WGL_EXT_swap_control by default even when the GLX version isn't there.
---
dlls/winex11.drv/opengl.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index c26e509..6ceb635 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -3037,8 +3037,9 @@ static void X11DRV_WineGL_LoadExtensions(void)
register_extension(&WGL_EXT_extensions_string);
- if (glxRequireExtension("GLX_SGI_swap_control"))
- register_extension(&WGL_EXT_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);
/* The OpenGL extension GL_NV_vertex_array_range adds wgl/glX functions which aren't exported as 'real' wgl/glX extensions. */
if(strstr(WineGLInfo.glExtensions, "GL_NV_vertex_array_range") != NULL)
Module: wine
Branch: master
Commit: 8e08983e5f7c821268df51d1fc9d2a45707f057e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=8e08983e5f7c821268df51d1f…
Author: Jason Edmeades <jason.edmeades(a)googlemail.com>
Date: Fri Jul 27 21:43:38 2007 +0100
cmd: Fix comment to accurately reflect the function.
---
programs/cmd/builtins.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/programs/cmd/builtins.c b/programs/cmd/builtins.c
index 9c34e8f..d887c4f 100644
--- a/programs/cmd/builtins.c
+++ b/programs/cmd/builtins.c
@@ -770,8 +770,7 @@ void WCMD_for (WCHAR *p, CMD_LIST **cmdList) {
*
* Execute a command, and any && or bracketed follow on to the command. The
* first command to be executed may not be at the front of the
- * commands->thiscommand string (eg. it may point after a DO or ELSE
- * Returns TRUE if something like exit or goto has aborted all processing
+ * commands->thiscommand string (eg. it may point after a DO or ELSE)
*/
void WCMD_part_execute(CMD_LIST **cmdList, WCHAR *firstcmd, WCHAR *variable,
WCHAR *value, BOOL isIF, BOOL conditionTRUE) {