Module: wine
Branch: master
Commit: 6dd054ca587b1d95c324c10383f1f81155ed9ffb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6dd054ca587b1d95c324c1038…
Author: Matteo Bruni <mbruni(a)codeweavers.com>
Date: Fri Nov 27 20:39:31 2015 +0100
wined3d: Flush the GL context before switching away from it.
We might end up not using the old context anymore after that and the GL
implementation is allowed to delay executing commands indefinitely if we
don't flush.
Signed-off-by: Matteo Bruni <mbruni(a)codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
dlls/wined3d/context.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index 0e8b32b..5eeccab 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -1129,6 +1129,11 @@ BOOL context_set_current(struct wined3d_context *ctx)
}
else
{
+ if (wglGetCurrentContext())
+ {
+ TRACE("Flushing context %p before switching to %p.\n", old, ctx);
+ glFlush();
+ }
old->current = 0;
}
}
Module: wine
Branch: master
Commit: da26ee745c6364f1c4e416046c36815bdc761fd9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=da26ee745c6364f1c4e416046…
Author: Hugh McMaster <hugh.mcmaster(a)outlook.com>
Date: Mon Nov 30 19:51:55 2015 +1100
loader: Fix a typo and improve a sentence in wine.man.in.
Signed-off-by: Hugh McMaster <hugh.mcmaster(a)outlook.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
---
loader/wine.man.in | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/loader/wine.man.in b/loader/wine.man.in
index f5647a3..1439b3c 100644
--- a/loader/wine.man.in
+++ b/loader/wine.man.in
@@ -26,8 +26,7 @@ For running CUI executables (Windows console programs), use
.B wineconsole
instead of
.BR wine .
-This will display all the output in a separate windows (this requires X11 to
-run). Not using
+This will display the output in a separate window. Not using
.B wineconsole
for CUI programs will only provide very limited console support, and your
program might not function properly.