dolphin/Source/Core/VideoBackends/Null
Pokechu22 4a2d3c83c7 Software: Implement GetSurfaceInfo()
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.
2023-03-02 11:08:49 -08:00
..
CMakeLists.txt Implement AbstractGfx for Software & Null 2023-01-31 19:41:23 +13:00
NullBackend.cpp Don't set common globals from Video Backends 2023-01-31 19:41:23 +13:00
NullBoundingBox.h VideoCommon: Abstract bounding box 2021-10-04 15:51:24 -04:00
NullGfx.cpp Handle VideoSoftware's present fallback better 2023-01-31 19:41:24 +13:00
NullGfx.h Software: Implement GetSurfaceInfo() 2023-03-02 11:08:49 -08:00
NullTexture.cpp VideoBackends: add a way to load data into a specific level AND layer, default to layer 0 2023-01-27 18:46:53 -06:00
NullTexture.h VideoBackends: add a way to load data into a specific level AND layer, default to layer 0 2023-01-27 18:46:53 -06:00
NullVertexManager.cpp treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
NullVertexManager.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
PerfQuery.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
TextureCache.h TextureCache: Refactor with smart pointers 2023-01-31 18:29:47 +13:00
VideoBackend.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00