mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-09-13 09:16:14 -07:00
demos: Flush XCB connection after creating window.
This fixes the "BadDrawable (invalid Pixmap or Window parameter)" error thrown by vkGetPhysicalDeviceSurfaceCapabilitiesKHR() on Nvidia drivers.
This commit is contained in:
parent
e42a9da943
commit
a4c36a87db
@ -164,6 +164,8 @@ static inline struct demo_window *demo_window_create(struct demo *demo, const ch
|
||||
|
||||
xcb_map_window(demo->connection, window->window);
|
||||
|
||||
xcb_flush(demo->connection);
|
||||
|
||||
return window;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user