mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
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
This commit is contained in:
@ -16,6 +16,10 @@ public:
|
||||
explicit AbstractTexture(const TextureConfig& c);
|
||||
virtual ~AbstractTexture() = default;
|
||||
|
||||
// Support implicit conversion between AbstractTexture and ImTextureId
|
||||
using imgui_texture_id = unsigned long long;
|
||||
operator imgui_texture_id() const { return reinterpret_cast<imgui_texture_id>(this); }
|
||||
|
||||
virtual void CopyRectangleFromTexture(const AbstractTexture* src,
|
||||
const MathUtil::Rectangle<int>& src_rect, u32 src_layer,
|
||||
u32 src_level, const MathUtil::Rectangle<int>& dst_rect,
|
||||
|
Reference in New Issue
Block a user