Merge remote-tracking branch 'upstream/main'

This commit is contained in:
Tyler Young 2023-01-01 20:31:02 -05:00
commit 770fb49e68
3 changed files with 4 additions and 2 deletions

1
.gitignore vendored
View file

@ -1,4 +1,5 @@
build/* build/*
assets/vita/eboot.bin
*.vpk *.vpk
*.elf *.elf
*.elf.unstripped.elf *.elf.unstripped.elf

Binary file not shown.

View file

@ -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);