diff options
Diffstat (limited to 'src/chunk.cpp')
-rw-r--r-- | src/chunk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk.cpp b/src/chunk.cpp index 2db7312..1c15fa7 100644 --- a/src/chunk.cpp +++ b/src/chunk.cpp @@ -61,7 +61,7 @@ static std::map<std::string, uint32_t> texturesIds{}; static std::vector<xe::Image*> textures{}; void loadTexture(const std::string& filePath) { - xe::Image* image = xe::Engine::getInstance()->loadImageFromFile(filePath); + xe::Image* image = xe::Engine::getInstance()->loadImageFromFile(filePath, false); texturesIds[filePath] = static_cast<uint32_t>(textures.size()); textures.push_back(image); } |