mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-03-13 04:01:57 +00:00
Fix CLAMP_NOFILTER to GL_REPEATE
This commit is contained in:
parent
1183152ce2
commit
fa092f9ec9
1 changed files with 5 additions and 0 deletions
|
@ -119,6 +119,11 @@ uint8_t FSamplerManager::Bind(int texunit, int num, int lastval)
|
|||
break;
|
||||
|
||||
case CLAMP_NOFILTER:
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_REPEAT);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST);
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
|
||||
break;
|
||||
case CLAMP_NOFILTER_X:
|
||||
case CLAMP_NOFILTER_Y:
|
||||
case CLAMP_NOFILTER_XY:
|
||||
|
|
Loading…
Reference in a new issue