[gtk/gtk3.win.egl.unfullscreen: 414/414] gdkwindow-win32.c: Fix GLES glitches during un-fullscreen
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk3.win.egl.unfullscreen: 414/414] gdkwindow-win32.c: Fix GLES glitches during un-fullscreen
- Date: Fri, 22 Nov 2019 04:01:17 +0000 (UTC)
commit 2aa62b31b4008e685ccfa3bf782a4aeb81d6786e
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Mar 18 15:15:13 2019 +0800
gdkwindow-win32.c: Fix GLES glitches during un-fullscreen
We also need to force redraw of the whole window when we are using
EGL/ANGLE during un-fullscreen, so that we do not get glitches in the
resulting window.
gdk/win32/gdkwindow-win32.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c
index 3951387e19..d0ad2f9fe2 100644
--- a/gdk/win32/gdkwindow-win32.c
+++ b/gdk/win32/gdkwindow-win32.c
@@ -5373,6 +5373,7 @@ gdk_win32_window_unfullscreen (GdkWindow *window)
impl->hint_flags = fi->hint_flags;
SetWindowLong (GDK_WINDOW_HWND (window), GWL_STYLE, fi->style);
+ _gdk_win32_window_invalidate_egl_framebuffer (window);
API_CALL (SetWindowPos, (GDK_WINDOW_HWND (window), HWND_NOTOPMOST,
fi->r.left, fi->r.top,
fi->r.right - fi->r.left, fi->r.bottom - fi->r.top,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]