Fix T59722: stencil texture overlay not working on macOS.

This commit is contained in:
Jonathan Merritt
2018-12-24 12:05:58 +01:00
committed by Brecht Van Lommel
parent 28520e9652
commit 410142caff

View File

@@ -692,7 +692,7 @@ static void paint_draw_tex_overlay(
}
/* draw textured quad */
immUniform1i("image", GL_TEXTURE0);
immUniform1i("image", 0);
immBegin(GPU_PRIM_TRI_FAN, 4);
immAttr2f(texCoord, 0.0f, 0.0f);