qt: Fix black screen when switching between renderers
This commit is contained in:
@@ -47,7 +47,8 @@ public:
|
||||
OpenGLES,
|
||||
OpenGL3,
|
||||
Vulkan,
|
||||
Direct3D9
|
||||
Direct3D9,
|
||||
None = -1
|
||||
};
|
||||
void switchRenderer(Renderer renderer);
|
||||
|
||||
@@ -96,6 +97,8 @@ private:
|
||||
int isMouseDown = 0;
|
||||
int m_monitor_index = 0;
|
||||
|
||||
Renderer current_vid_api = Renderer::None;
|
||||
|
||||
std::vector<std::tuple<uint8_t *, std::atomic_flag *>> imagebufs;
|
||||
|
||||
RendererCommon *rendererWindow { nullptr };
|
||||
|
||||
Reference in New Issue
Block a user