fixed few bug in BitmapLoad/DrawGeometry

This commit is contained in:
2024-08-06 00:49:50 +08:00
parent b64f4c90e4
commit 72fedd4f3c
2 changed files with 14 additions and 4 deletions

View File

@@ -79,7 +79,7 @@ namespace hgl
io::OpenFileInputStream fis(filename);
if(!fis)
return(false);
return(nullptr);
return LoadBitmapFromTGA<T>(&fis);
}