mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 13:00:43 +00:00
- fixed voxel rendering in palette emulation mode.
The recent changes for replacing fonts with hires versions made the paletted handling kick in, although the voxel textures are not suitable for that. Fixes #178
This commit is contained in:
parent
f9a776e71c
commit
483e0b6574
1 changed files with 2 additions and 0 deletions
|
@ -382,6 +382,8 @@ bool PreBindTexture(FRenderState* state, FGameTexture*& tex, EUpscaleFlags& flag
|
||||||
TexturePick pick;
|
TexturePick pick;
|
||||||
auto t = tex;
|
auto t = tex;
|
||||||
|
|
||||||
|
if (tex->GetUseType() == ETextureType::Special) return true;
|
||||||
|
|
||||||
if (PickTexture(tex, translation, pick))
|
if (PickTexture(tex, translation, pick))
|
||||||
{
|
{
|
||||||
int TextureType = (pick.translation & 0x80000000) ? TT_INDEXED : TT_TRUECOLOR;
|
int TextureType = (pick.translation & 0x80000000) ? TT_INDEXED : TT_TRUECOLOR;
|
||||||
|
|
Loading…
Reference in a new issue