Skip to content

Commit

Permalink
textures: Explictly specify texture namespace in LoadImageBMP
Browse files Browse the repository at this point in the history
  • Loading branch information
joel16 committed Aug 1, 2022
1 parent 388b030 commit 01ca309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/textures.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ namespace Textures {

texture.width = bmp.width;
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);
return ret;
}
Expand Down

0 comments on commit 01ca309

Please sign in to comment.