dolphin/Source/Core/VideoBackends
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
..
D3D VideoBackends: rework d3d11 to specify samplers/bound textures using a bitset with a constant size, instead of hardcoding each individual enumeration value 2023-02-24 11:32:48 -06:00
D3D12 VideoCommon: add constant value to set the allowed maximum number of pixel samplers 2023-02-10 00:46:11 -06:00
D3DCommon D3DCommon: Remove unused swap chain functions 2022-08-17 18:16:50 -07:00
Metal Merge pull request #11523 from degasus/OGL_KHR_subgroup 2023-02-10 04:47:20 -05:00
Null Software: Implement GetSurfaceInfo() 2023-03-02 11:08:49 -08:00
OGL VideoCommon: Fix stereoscopic 3D on OpenGL < 4.3 (macOS) 2023-02-14 18:25:33 +01:00
Software Software: Implement GetSurfaceInfo() 2023-03-02 11:08:49 -08:00
Vulkan Merge pull request #11577 from JosJuice/android-armeabi-v7a 2023-02-17 17:57:38 +01:00
CMakeLists.txt VideoBackends: Add Metal renderer 2022-07-21 20:44:19 -05:00