[gtk/wip/chergert/glproto: 756/920] fix uniform format
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 756/920] fix uniform format
- Date: Mon, 8 Feb 2021 19:15:40 +0000 (UTC)
commit bda0bc5e0e96178aa9f42df7ae7b9abf01b340b2
Author: Christian Hergert <chergert redhat com>
Date: Tue Jan 26 12:09:00 2021 -0800
fix uniform format
should be float, not int
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 e62fc082e8..90e820114b 100644
--- a/gsk/next/gskglrenderjob.c
+++ b/gsk/next/gskglrenderjob.c
@@ -2480,7 +2480,7 @@ gsk_gl_render_job_visit_cross_fade_node (GskGLRenderJob *job,
GL_TEXTURE_2D,
GL_TEXTURE1,
offscreen_end.texture_id);
- gsk_gl_program_set_uniform1i (job->driver->cross_fade,
+ gsk_gl_program_set_uniform1f (job->driver->cross_fade,
UNIFORM_CROSS_FADE_PROGRESS,
progress);
gsk_gl_render_job_draw_offscreen_rect (job, &node->bounds);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]