mirror of https://github.com/yshui/picom.git
backend: gl: fix gl_present not using the correct texture unit
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
d8c34ed4f7
commit
70a703df43
|
@ -1176,6 +1176,7 @@ void gl_present(backend_t *base, const region_t *region) {
|
|||
}
|
||||
|
||||
glUseProgram(gd->present_prog);
|
||||
glActiveTexture(GL_TEXTURE0);
|
||||
glBindTexture(GL_TEXTURE_2D, gd->back_texture);
|
||||
|
||||
GLuint vao;
|
||||
|
|
Loading…
Reference in New Issue