[client] egl: fixes to shader post-process pipeline

This commit is contained in:
Geoffrey McRae
2021-08-11 06:31:01 +10:00
parent cd5ecf3e5a
commit f78154d282
3 changed files with 10 additions and 8 deletions

View File

@@ -265,7 +265,7 @@ static bool rbBindTexture(int index, void * value, void * udata)
glActiveTexture(GL_TEXTURE0 + index);
glBindTexture(GL_TEXTURE_2D, bi->tex);
glBindSampler(0, bd->sampler);
glBindSampler(index, bd->sampler);
bd->dimensions[index * 2 + 0] = bi->width;
bd->dimensions[index * 2 + 1] = bi->height;
return true;