mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
- fixed incorrect sampler binding.
This commit is contained in:
parent
9e7f91b5ac
commit
2dc0de5824
1 changed files with 1 additions and 1 deletions
|
@ -359,7 +359,7 @@ void PolymostRenderState::Apply(PolymostShader* shader, GLState &oldState)
|
|||
reset = true;
|
||||
}
|
||||
glBindTexture(GL_TEXTURE_2D, texIds[i]);
|
||||
glBindSampler(i, samplerIds[i]);
|
||||
GLInterface.mSamplers->Bind(i, samplerIds[i], -1);
|
||||
oldState.TexId[i] = texIds[i];
|
||||
oldState.SamplerId[i] = samplerIds[i];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue