fix Texture::reload

This commit is contained in:
MihailRis 2026-08-22 17:39:01 +03:00
parent e229c1ebb9
commit f2018334cb

View file

@ -46,7 +46,7 @@ void Texture::resize(uint width, uint height) {
} }
void Texture::reload(const ImageData& image) { void Texture::reload(const ImageData& image) {
reload(image.getData(), width, height); reload(image.getData(), image.getWidth(), image.getHeight());
} }
void Texture::reload(const ubyte* data, uint width, uint height) { void Texture::reload(const ubyte* data, uint width, uint height) {