mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-06-06 22:54:59 -06:00
UI: Disable wxWidgets' new on-by-default compositing for VulkanCanvas
A similar fix had to be done as the official OpenGL canvas, see 2d37e9fbc8
This commit is contained in:
parent
7f57039420
commit
2e33b16513
@ -13,6 +13,9 @@ VulkanCanvas::VulkanCanvas(wxWindow* parent, const wxSize& size, bool is_main_wi
|
|||||||
{
|
{
|
||||||
Bind(wxEVT_PAINT, &VulkanCanvas::OnPaint, this);
|
Bind(wxEVT_PAINT, &VulkanCanvas::OnPaint, this);
|
||||||
Bind(wxEVT_SIZE, &VulkanCanvas::OnResize, this);
|
Bind(wxEVT_SIZE, &VulkanCanvas::OnResize, this);
|
||||||
|
#if __WXMSW__
|
||||||
|
MSWDisableComposited();
|
||||||
|
#endif
|
||||||
|
|
||||||
auto& canvas = is_main_window ? WindowSystem::GetWindowInfo().canvas_main : WindowSystem::GetWindowInfo().canvas_pad;
|
auto& canvas = is_main_window ? WindowSystem::GetWindowInfo().canvas_main : WindowSystem::GetWindowInfo().canvas_pad;
|
||||||
canvas = initHandleContextFromWxWidgetsWindow(this);
|
canvas = initHandleContextFromWxWidgetsWindow(this);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user