mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
polymost_bindPth(): Fix issue where non-indexed colour, non-hightile textures (including those with polytintflags HICTINT_USEONART or HICTINT_ALWAYSUSEART) would not render correctly while r_useindexedcolortextures is set.
git-svn-id: https://svn.eduke32.com/eduke32@6885 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
38e3784549
commit
a4736f6bf7
1 changed files with 1 additions and 1 deletions
|
@ -771,7 +771,7 @@ static void polymost_bindPth(pthtyp *pPth)
|
|||
{
|
||||
vec4f_t texturePosSize = { 0.f, 0.f, 1.f, 1.f };
|
||||
vec2f_t halfTexelSize = { 0.f, 0.f };
|
||||
if (r_useindexedcolortextures &&
|
||||
if ((pPth->flags & PTH_INDEXED) &&
|
||||
!(pPth->flags & PTH_HIGHTILE))
|
||||
{
|
||||
Tile tile;
|
||||
|
|
Loading…
Reference in a new issue