summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AbstractTexture.cpp
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2025-01-20 14:40:27 -0600
committeriwubcode <iwubcode@users.noreply.github.com>2025-01-20 14:47:14 -0600
commit25c805be9989c0ce1bd671edcf4c775529f5fe42 (patch)
treec8b14adef799a0a58905801202d996cd39d91632 /Source/Core/VideoCommon/AbstractTexture.cpp
parent7ba56bc7382216cdfed541b287679d0deba14a30 (diff)
Externals / VideoCommon: update imgui to 1.91.7 and implot to v0.16; imgui changed types for ImTextureId, which was addressed by using an implicit cast
Diffstat (limited to 'Source/Core/VideoCommon/AbstractTexture.cpp')
-rw-r--r--Source/Core/VideoCommon/AbstractTexture.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/AbstractTexture.cpp b/Source/Core/VideoCommon/AbstractTexture.cpp
index 08eec74fa3..d60925ab25 100644
--- a/Source/Core/VideoCommon/AbstractTexture.cpp
+++ b/Source/Core/VideoCommon/AbstractTexture.cpp
@@ -5,12 +5,17 @@
#include <algorithm>
+#include <imgui.h>
+
#include "Common/Assert.h"
#include "Common/Image.h"
#include "Common/MsgHandler.h"
#include "VideoCommon/AbstractGfx.h"
#include "VideoCommon/AbstractStagingTexture.h"
+static_assert(std::is_same_v<AbstractTexture::imgui_texture_id, ImTextureID>,
+ "The typedef should match ImTextureID in imgui");
+
AbstractTexture::AbstractTexture(const TextureConfig& c) : m_config(c)
{
}