summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/OnScreenUI.h
diff options
context:
space:
mode:
authorTryTwo <taolas@gmail.com>2025-08-12 02:00:44 -0700
committerTryTwo <taolas@gmail.com>2025-08-18 05:38:14 -0700
commitaffc22f17d329a4d17d595dd468ce82ac3a015dd (patch)
tree605230fcdc34211ac94fcd8f391efb7941b8e3cf /Source/Core/VideoCommon/OnScreenUI.h
parent7315acb9816de9f32165e5bd2eeb0b7f1e8519f4 (diff)
Update code to work with new version of ImGui.
UpdateImGuiTexture now handles creating font textures and modifying them.
Diffstat (limited to 'Source/Core/VideoCommon/OnScreenUI.h')
-rw-r--r--Source/Core/VideoCommon/OnScreenUI.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/OnScreenUI.h b/Source/Core/VideoCommon/OnScreenUI.h
index 28749807be..7f9c7aa3c2 100644
--- a/Source/Core/VideoCommon/OnScreenUI.h
+++ b/Source/Core/VideoCommon/OnScreenUI.h
@@ -15,6 +15,7 @@
class NativeVertexFormat;
class AbstractTexture;
class AbstractPipeline;
+class ImTextureData;
namespace VideoCommon
{
@@ -62,6 +63,7 @@ public:
private:
void DrawDebugText();
void DrawChallengesAndLeaderboards();
+ void UpdateImguiTexture(ImTextureData* tex);
// ImGui resources.
std::unique_ptr<NativeVertexFormat> m_imgui_vertex_format;