mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-27 09:20:51 +00:00
Fix issue with indexed colour textures where in the case that tiles entered the texcache while !waloff[picnum] & were later (re)loaded, the earlier pth pointing to the tilesheet containing the blank tile would never be properly replaced with an updated gl texture.
git-svn-id: https://svn.eduke32.com/eduke32@7929 1a8010ca-5511-0410-912e-c29ae57300e0 # Conflicts: # source/build/src/polymost.cpp
This commit is contained in:
parent
ea79d74953
commit
284adb6ac6
1 changed files with 1 additions and 0 deletions
|
@ -629,6 +629,7 @@ bool tileLoad(int16_t tileNum)
|
|||
int type;
|
||||
for (type = 0; type <= 1; ++type)
|
||||
{
|
||||
gltexinvalidate(tileNum, 0, (type ? DAMETH_CLAMPED : DAMETH_MASK) | PTH_INDEXED);
|
||||
texcache_fetch(tileNum, 0, 0, (type ? DAMETH_CLAMPED : DAMETH_MASK) | PTH_INDEXED);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue