mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08: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