[gtk/wip/chergert/glproto] fix texture location for blend op



commit 98cf7d7b455f971ef873b738a1c065ea1b712e27
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]