mirror of
https://github.com/nzp-team/glquake.git
synced 2024-11-10 06:31:35 +00:00
Revert linear heap sizes, fix closing file in LoadPCX
This commit is contained in:
parent
9d0a62acec
commit
1e93559078
1 changed files with 2 additions and 0 deletions
|
@ -1875,6 +1875,8 @@ byte* LoadPCX (FILE *f, int matchwidth, int matchheight)
|
|||
}
|
||||
image_width = pcx->xmax+1;
|
||||
image_height = pcx->ymax+1;
|
||||
|
||||
fclose(f);
|
||||
return image_rgba;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue