mirror of
https://github.com/nzp-team/quakespasm.git
synced 2024-11-10 06:32:03 +00:00
Merge remote-tracking branch 'upstream/main'
This commit is contained in:
commit
770fb49e68
3 changed files with 4 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
||||||
build/*
|
build/*
|
||||||
|
assets/vita/eboot.bin
|
||||||
*.vpk
|
*.vpk
|
||||||
*.elf
|
*.elf
|
||||||
*.elf.unstripped.elf
|
*.elf.unstripped.elf
|
||||||
|
|
Binary file not shown.
|
@ -107,8 +107,9 @@ byte *Image_LoadImage (const char *name, int *width, int *height)
|
||||||
|
|
||||||
q_snprintf (loadfilename, sizeof(loadfilename), "%s.tga", name);
|
q_snprintf (loadfilename, sizeof(loadfilename), "%s.tga", name);
|
||||||
COM_FOpenFile (loadfilename, &f, NULL);
|
COM_FOpenFile (loadfilename, &f, NULL);
|
||||||
if (f)
|
if (f) {
|
||||||
return Image_LoadSTBI (f, width, height);
|
return Image_LoadSTBI (f, width, height);
|
||||||
|
}
|
||||||
|
|
||||||
q_snprintf (loadfilename, sizeof(loadfilename), "%s.png", name);
|
q_snprintf (loadfilename, sizeof(loadfilename), "%s.png", name);
|
||||||
COM_FOpenFile (loadfilename, &f, NULL);
|
COM_FOpenFile (loadfilename, &f, NULL);
|
||||||
|
|
Loading…
Reference in a new issue