rename cache variable for images

This commit is contained in:
arthur.jamet
2021-06-01 11:26:54 +02:00
parent 41c42da5b7
commit 8b5208ddbf
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
#include "Drawables/2D/Rectangle.hpp"
namespace RAY {
std::unordered_map<std::string, std::shared_ptr<::Image>> Image::_modelsCache;
std::unordered_map<std::string, std::shared_ptr<::Image>> Image::_ImageCache;
Image::Image(const std::string &filename):
Rectangle(Vector2(0, 0), Vector2(0, 0), WHITE),