From 8784cbfebcb8a0220fb947a6070032e20b80fc2f Mon Sep 17 00:00:00 2001 From: untodesu Date: Thu, 11 Sep 2025 14:13:39 +0500 Subject: Another qfengine graft: resource management DECOPYPASTA DECOPYPASTA DECOPYPASTA DECOPYPASTA --- game/client/resource/texture_gui.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'game/client/resource/texture_gui.hh') diff --git a/game/client/resource/texture_gui.hh b/game/client/resource/texture_gui.hh index 855596e..988c642 100644 --- a/game/client/resource/texture_gui.hh +++ b/game/client/resource/texture_gui.hh @@ -9,7 +9,9 @@ constexpr static unsigned int TEXTURE_GUI_LOAD_LINEAR_MIN = 0x0008; constexpr static unsigned int TEXTURE_GUI_LOAD_VFLIP = 0x0010; constexpr static unsigned int TEXTURE_GUI_LOAD_GRAYSCALE = 0x0020; -struct TextureGUI { +struct TextureGUI final { + static void register_resource(void); + ImTextureID handle; glm::ivec2 size; }; -- cgit