mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-05-30 16:50:50 +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
|
@ -1154,7 +1154,7 @@ int32_t polymost_voxdraw(voxmodel_t *m, tspriteptr_t const tspr)
|
|||
|
||||
GLInterface.SetPalswap(globalpal);
|
||||
// The texture here is already translated.
|
||||
GLInterface.SetTexture(-1, htex, 0/*TRANSLATION(Translation_Remap + curbasepal, globalpal)*/, 0, CLAMP_NOFILTER_XY);
|
||||
GLInterface.SetTexture(-1, htex, 0/*TRANSLATION(Translation_Remap + curbasepal, globalpal)*/, CLAMP_NOFILTER_XY);
|
||||
|
||||
// This must be done after setting up the texture.
|
||||
auto& h = lookups.tables[globalpal];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue