refactor + auto max atlas resolution

This commit is contained in:
MihailRis
2024-04-10 18:18:55 +03:00
parent befc9cf09c
commit eb70e1c0df
7 changed files with 46 additions and 12 deletions
+2
View File
@@ -6,6 +6,8 @@
#include "ImageData.h"
#include "gl_util.h"
uint Texture::MAX_RESOLUTION = 1024; // Window.initialize overrides it
Texture::Texture(uint id, uint width, uint height)
: id(id), width(width), height(height) {
}