[gtk/wip/chergert/glproto: 786/920] use offscreen to flip-y, similar to gl renderer




commit 6e2d5472d0af571480081ca5569f2b88da298373
Author: Christian Hergert <chergert redhat com>
Date:   Wed Jan 27 20:33:27 2021 -0800

    use offscreen to flip-y, similar to gl renderer

 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 4ebf4e1df3..20005f852a 100644
--- a/gsk/next/gskglrenderjob.c
+++ b/gsk/next/gskglrenderjob.c
@@ -1483,7 +1483,7 @@ gsk_gl_render_job_visit_rounded_clip_node (GskGLRenderJob *job,
                                           GL_TEXTURE_2D,
                                           GL_TEXTURE0,
                                           offscreen.texture_id);
-      gsk_gl_render_job_draw_offscreen_rect (job, &node->bounds);
+      gsk_gl_render_job_load_vertices_from_offscreen (job, &node->bounds, &offscreen);
       gsk_gl_program_end_draw (job->driver->blit);
     }
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]