mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +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);
|
glUniform1i(location, textureUnit);
|
||||||
|
|
||||||
glActiveTexture(GL_TEXTURE0 + 1);
|
glActiveTexture(GL_TEXTURE0 + textureUnit);
|
||||||
auto it = mTextureHandles.find(tex);
|
auto it = mTextureHandles.find(tex);
|
||||||
if (it == mTextureHandles.end())
|
if (it == mTextureHandles.end())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue