mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-22 02:19:44 +00:00
Merge branch 'MihailRis:main' into main
This commit is contained in:
commit
9a942cf634
32 changed files with 298 additions and 139 deletions
|
|
@ -46,7 +46,7 @@ void Texture::resize(uint width, uint height) {
|
|||
}
|
||||
|
||||
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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue