mirror of
https://github.com/nzp-team/quakespasm.git
synced 2025-04-24 01:31:41 +00:00
Use STBImage for TGA instead of internal.
This commit is contained in:
parent
055a2a68e4
commit
a1610a77f2
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ byte *Image_LoadImage (const char *name, int *width, int *height)
|
|||
q_snprintf (loadfilename, sizeof(loadfilename), "%s.tga", name);
|
||||
COM_FOpenFile (loadfilename, &f, NULL);
|
||||
if (f) {
|
||||
return Image_LoadTGA (f, width, height);
|
||||
return Image_LoadSTBI (f, width, height);
|
||||
}
|
||||
|
||||
q_snprintf (loadfilename, sizeof(loadfilename), "%s.png", name);
|
||||
|
|
Loading…
Reference in a new issue