mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 22:11:43 +00:00
Fixed postprocess shaders with 2 or more textures
This commit is contained in:
parent
6c91d15b0a
commit
95bcc46acc
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ void PostProcessShaderInstance::BindTextures()
|
|||
{
|
||||
glUniform1i(location, textureUnit);
|
||||
|
||||
glActiveTexture(GL_TEXTURE0 + 1);
|
||||
glActiveTexture(GL_TEXTURE0 + textureUnit);
|
||||
auto it = mTextureHandles.find(tex);
|
||||
if (it == mTextureHandles.end())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue