[gtk/wip/chergert/glproto: 761/920] fix texture location for blend op
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 761/920] fix texture location for blend op
- Date: Mon, 8 Feb 2021 19:15:40 +0000 (UTC)
commit d35a3de71631f96266e4e1c7953a0c5ab74df13b
Author: Christian Hergert <chergert redhat com>
Date: Tue Jan 26 13:57:35 2021 -0800
fix texture location for blend op
this belongs in slot 1, not 0
gsk/next/gskglrenderjob.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gsk/next/gskglrenderjob.c b/gsk/next/gskglrenderjob.c
index b288a5542e..56ed239d41 100644
--- a/gsk/next/gskglrenderjob.c
+++ b/gsk/next/gskglrenderjob.c
@@ -2869,7 +2869,7 @@ gsk_gl_render_job_visit_blend_node (GskGLRenderJob *job,
gsk_gl_program_set_uniform_texture (job->driver->blend,
UNIFORM_BLEND_SOURCE2,
GL_TEXTURE_2D,
- GL_TEXTURE0,
+ GL_TEXTURE1,
top_offscreen.texture_id);
gsk_gl_program_set_uniform1i (job->driver->blend,
UNIFORM_BLEND_MODE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]