mirror of
https://github.com/joel16/NX-Shell.git
synced 2024-11-23 11:49:46 +00:00
textures: Explictly specify texture namespace in LoadImageBMP
This commit is contained in:
parent
388b030371
commit
01ca3098bd
@ -191,7 +191,7 @@ namespace Textures {
|
|||||||
|
|
||||||
texture.width = bmp.width;
|
texture.width = bmp.width;
|
||||||
texture.height = bmp.height;
|
texture.height = bmp.height;
|
||||||
bool ret = Create(static_cast<unsigned char *>(bmp.bitmap), GL_RGBA, texture);
|
bool ret = Textures::Create(static_cast<unsigned char *>(bmp.bitmap), GL_RGBA, texture);
|
||||||
bmp_finalise(&bmp);
|
bmp_finalise(&bmp);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user