refactor + auto max atlas resolution
This commit is contained in:
@@ -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) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user