mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
oops, missed a case
This commit is contained in:
parent
7e0ce3d3df
commit
fa775c6e30
1 changed files with 2 additions and 0 deletions
|
@ -591,6 +591,8 @@ decode_greyscale_rle (TargaHeader *targa, tex_t *tex, byte *dataByte)
|
|||
int column, columns, rows, span;
|
||||
cmap_t *cmap = 0; // not really used but needed for rle_expand
|
||||
|
||||
dataByte = skip_colormap (targa, dataByte);
|
||||
|
||||
if (targa->pixel_size != 8)
|
||||
Sys_Error ("LoadTGA: unsupported truecolor pixel size");
|
||||
tex->format = tex_la;
|
||||
|
|
Loading…
Reference in a new issue