From e61cab8cb95463174f7587459feab33fd7e993a3 Mon Sep 17 00:00:00 2001 From: nosch Date: Sun, 31 Aug 2025 01:30:22 +0200 Subject: [PATCH] fixed TextureAtlas --- src/render/textures.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/render/textures.cpp b/src/render/textures.cpp index 879c4f9..e765012 100644 --- a/src/render/textures.cpp +++ b/src/render/textures.cpp @@ -16,11 +16,11 @@ struct TextureAtlas { return atlas[id]; } - bool LoadImage(const char *path) { + void LoadImage(const char *path) { atlas.push_back(LoadTexture(path)); } - bool AddTexture(Texture texture){ + void AddTexture(Texture texture){ atlas.push_back(texture); }