mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-12 13:30:19 +00:00
Merge branch 'wip/otte/win32-remove-sync' into 'main'
win32: Remove gdk_display_sync() See merge request GNOME/gtk!7727
This commit is contained in:
commit
4801c3275e
@ -47,13 +47,6 @@ gdk_win32_vulkan_context_create_surface (GdkVulkanContext *context,
|
||||
info.hinstance = this_module ();
|
||||
info.hwnd = GDK_SURFACE_HWND (window);
|
||||
|
||||
/* This is necessary so that Vulkan sees the Window.
|
||||
* Usually, vkCreateWin32SurfaceKHR() will not cause a problem to happen as
|
||||
* it just creates resources, but further calls with the resulting surface
|
||||
* do cause issues.
|
||||
*/
|
||||
gdk_display_sync (display);
|
||||
|
||||
result = GDK_VK_CHECK (vkCreateWin32SurfaceKHR,
|
||||
gdk_vulkan_context_get_instance (context),
|
||||
&info,
|
||||
|
Loading…
Reference in New Issue
Block a user