mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Fix "The latest builds show the same screenshot for every save game entry", reported at http://forums.duke4.net/topic/2961-paper-cuts-minor-bugs-and-annoyances/page__view__findpost__p__169847
git-svn-id: https://svn.eduke32.com/eduke32@4038 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
313671d0ab
commit
322888ce83
1 changed files with 1 additions and 1 deletions
|
@ -4625,7 +4625,7 @@ static void polymer_getbuildmaterial(_prmaterial* material, int16_t tile
|
||||||
}
|
}
|
||||||
|
|
||||||
// Lazily fill in all the textures we need, move this to precaching later
|
// Lazily fill in all the textures we need, move this to precaching later
|
||||||
if (pr_artmapping && (!pth || !pth->hicr) && tilenum != (MAXTILES - 4)) {
|
if (pr_artmapping && (!pth || !pth->hicr) && tilenum <= (MAXTILES - 4)) {
|
||||||
if (!prartmaps[tilenum]) {
|
if (!prartmaps[tilenum]) {
|
||||||
char *tilebuffer = (char *)waloff[tilenum];
|
char *tilebuffer = (char *)waloff[tilenum];
|
||||||
char *tempbuffer = (char *)Bmalloc(tilesizx[tilenum] * tilesizy[tilenum]);
|
char *tempbuffer = (char *)Bmalloc(tilesizx[tilenum] * tilesizy[tilenum]);
|
||||||
|
|
Loading…
Reference in a new issue