summaryrefslogtreecommitdiffstats
path: root/core/resource/image.hh
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-09-11 14:13:39 +0500
committeruntodesu <kirill@untode.su>2025-09-11 14:13:39 +0500
commit8784cbfebcb8a0220fb947a6070032e20b80fc2f (patch)
tree2e03a2c013ed7b19a5dafaba1ddfb05c1878449a /core/resource/image.hh
parentf0cc06c7388acb32b86301965c5b2547e4e3b919 (diff)
downloadvoxelius-8784cbfebcb8a0220fb947a6070032e20b80fc2f.tar.bz2
voxelius-8784cbfebcb8a0220fb947a6070032e20b80fc2f.zip
Another qfengine graft: resource management
DECOPYPASTA DECOPYPASTA DECOPYPASTA DECOPYPASTA
Diffstat (limited to 'core/resource/image.hh')
-rw-r--r--core/resource/image.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/resource/image.hh b/core/resource/image.hh
index 13e912e..b62fcbb 100644
--- a/core/resource/image.hh
+++ b/core/resource/image.hh
@@ -6,6 +6,8 @@ constexpr static unsigned int IMAGE_LOAD_GRAY = 0x0001U;
constexpr static unsigned int IMAGE_LOAD_FLIP = 0x0002U;
struct Image final {
+ static void register_resource(void);
+
stbi_uc* pixels;
glm::ivec2 size;
};