mirror of
https://github.com/nzp-team/glquake.git
synced 2025-03-13 22:22:05 +00:00
Fix for incorrect texture id (#26)
This commit is contained in:
parent
fdbb4c3799
commit
9ae97d497f
3 changed files with 1 additions and 2 deletions
BIN
nzportable.3dsx
BIN
nzportable.3dsx
Binary file not shown.
BIN
nzportable.elf
BIN
nzportable.elf
Binary file not shown.
|
@ -1607,14 +1607,13 @@ int GL_LoadTexture (char *identifier, int width, int height, byte *data, qboolea
|
|||
}
|
||||
|
||||
// whoever at id or threewave must've been half asleep...
|
||||
GL_LoadTexture_setup:
|
||||
glt = &gltextures[numgltextures];
|
||||
numgltextures++;
|
||||
glt->texnum = texture_extension_number;
|
||||
texture_extension_number++;
|
||||
|
||||
strcpy (gltextures[glt->texnum].identifier, identifier);
|
||||
|
||||
GL_LoadTexture_setup:
|
||||
|
||||
// naievil -- why do we have this twice lol
|
||||
gltextures[glt->texnum].checksum = lhcsum;
|
||||
|
|
Loading…
Reference in a new issue