mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- fixed inverted checks for texture clamping.
This commit is contained in:
parent
8b9853ad28
commit
1e63341c4d
1 changed files with 2 additions and 2 deletions
|
@ -371,8 +371,8 @@ static void polymost_drawpoly(vec2f_t const * const dpxy, int32_t const n, int32
|
|||
int sampleroverride = CLAMP_NONE;
|
||||
if (method & DAMETH_CLAMPED)
|
||||
{
|
||||
if (drawpoly_srepeat) sampleroverride |= CLAMP_Y;
|
||||
if (drawpoly_trepeat) sampleroverride |= CLAMP_X;
|
||||
if (!drawpoly_srepeat) sampleroverride |= CLAMP_Y;
|
||||
if (!drawpoly_trepeat) sampleroverride |= CLAMP_X;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue