mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
4a2d3c83c7
Before, it used a fallback where it returned a default object, where the width and height were set to 0. Presenter::Initialize() used GetSurfaceInfo to set the backbuffer size, then used that size when initializing the on-screen UI (even for the software renderer, where the on-screen UI isn't currently present), which meant that ImGui got a window size of 0 and thus resulted in a failed assertion. Although BindBackbuffer checks for size changes, it doesn't help because ImGui has already been initialized, and the size hasn't actually changed since initialization occured. Fixes one aspect of https://bugs.dolphin-emu.org/issues/13172. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
NullBackend.cpp | ||
NullBoundingBox.h | ||
NullGfx.cpp | ||
NullGfx.h | ||
NullTexture.cpp | ||
NullTexture.h | ||
NullVertexManager.cpp | ||
NullVertexManager.h | ||
PerfQuery.h | ||
TextureCache.h | ||
VideoBackend.h |