mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix Texture::reload
This commit is contained in:
parent
e229c1ebb9
commit
f2018334cb
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue