mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-31 09:20:59 +00:00
- simplified the texture sampler setup.
DAMETH_CLAMPED was redundant and only causig problems.
This commit is contained in:
parent
1b12c08c66
commit
7638ead1c8
6 changed files with 8 additions and 9 deletions
|
@ -170,7 +170,7 @@ void GLInstance::Draw2D(F2DDrawer *drawer)
|
|||
SetFadeDisable(true);
|
||||
SetShade(0, numshades);
|
||||
|
||||
SetTexture(TileFiles.GetTileIndex(tex), tex, cmd.mTranslationId, 0, cmd.mFlags & F2DDrawer::DTF_Wrap ? CLAMP_NONE : CLAMP_XY);
|
||||
SetTexture(TileFiles.GetTileIndex(tex), tex, cmd.mTranslationId, cmd.mFlags & F2DDrawer::DTF_Wrap ? CLAMP_NONE : CLAMP_XY);
|
||||
EnableBlend(!(cmd.mRenderStyle.Flags & STYLEF_Alpha1));
|
||||
UseColorOnly(false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue