implemented alpha texture repository

This commit is contained in:
Sandro Sobczyński committed 2020-10-31 13:58:20 +01:00
1 parent 3cfe7ba8f1
commit 885e8b4f2b
12 files changed
+186 -29

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ BmpLoader::~BmpLoader() {}
*/
void BmpLoader::load(MeshTexture &o_texture, char *t_subfolder, char *t_name, char *t_extension)
{
o_texture.setName(t_name);
char *t_path_part = String::createConcatenated(t_subfolder, t_name);
char *t_path = String::createConcatenated(t_path_part, t_extension);
delete[] t_path_part;