mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-09 18:30:08 +00:00
Merge branch 'vulkan-win32-fix-resize' into 'main'
gdksurface-win32.c: Call _gdk_surface_update_size() more (fix resizing on Vulkan on certain drivers) Closes #6565 See merge request GNOME/gtk!7562
This commit is contained in:
commit
f592a303e4
@ -5080,6 +5080,15 @@ gdk_win32_surface_apply_queued_move_resize (GdkSurface *surface,
|
||||
|
||||
GDK_NOTE (EVENTS, g_print (" ... set window position\n"));
|
||||
|
||||
/*
|
||||
* Workaround situations in the current Win32 surface resize code that may have notified GDK
|
||||
* too late for resizes, which manifests on nVidia drivers (and AMD drivers in mailbox
|
||||
* presentation mode) running under Vulkan when one interactively enlarges the surface (HWND).
|
||||
*
|
||||
* See MR !7562 for more details
|
||||
*/
|
||||
_gdk_surface_update_size (surface);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user