mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-01-19 15:01:13 +00:00
Two minor fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6024 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
ac6605e0d7
commit
cbec2d0660
2 changed files with 2 additions and 2 deletions
|
@ -3447,7 +3447,7 @@ static void Mod_LoadMiptex(model_t *loadmodel, texture_t *tx, miptex_t *mt, size
|
|||
continue;
|
||||
}
|
||||
else if (extsize <= 16) continue; //too small for an altformat lump
|
||||
else if (newdata != PTI_INVALID) continue; //only accept the first accepted format (allowing for eg astc+bc1 fallbacks)
|
||||
else if (newfmt != PTI_INVALID) continue; //only accept the first accepted format (allowing for eg astc+bc1 fallbacks)
|
||||
else if (!strncmp(extfmt, "RGBA", 4)) newfmt = PTI_RGBA8; //32bpp, we don't normally need this alpha precision (padding can be handy though, for the lazy).
|
||||
else if (!strncmp(extfmt, "RGBX", 4)) newfmt = PTI_RGBX8; //32bpp, we don't normally need this alpha precision (padding can be handy though, for the lazy).
|
||||
else if (!strncmp(extfmt, "RGB", 4)) newfmt = PTI_RGB8; //24bpp
|
||||
|
|
|
@ -198,7 +198,7 @@ static qboolean Con_FakeSubPrint(const char *subname, const char *text)
|
|||
typedef struct ircclient_s {
|
||||
struct ircclient_s *next;
|
||||
|
||||
char id[16]; //used for console prints, so we can match up consoles and clients.
|
||||
char id[64]; //used for console prints, so we can match up consoles and clients.
|
||||
|
||||
char server[64];
|
||||
int port;
|
||||
|
|
Loading…
Reference in a new issue