[gtk/wip/chergert/glproto: 350/526] add missing custom.glsl source
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/glproto: 350/526] add missing custom.glsl source
- Date: Tue, 16 Feb 2021 01:14:34 +0000 (UTC)
commit 94d0426d3b5bd2d7d6bf6d0373b234bb81a53318
Author: Christian Hergert <chergert redhat com>
Date: Thu Jan 28 16:59:32 2021 -0800
add missing custom.glsl source
gsk/next/gskgldriver.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/gsk/next/gskgldriver.c b/gsk/next/gskgldriver.c
index a2c707709d..bdee6867c9 100644
--- a/gsk/next/gskgldriver.c
+++ b/gsk/next/gskgldriver.c
@@ -1088,6 +1088,9 @@ gsk_next_driver_lookup_shader (GskNextDriver *self,
gsk_gl_compiler_set_preamble_from_resource (compiler,
GSK_GL_COMPILER_FRAGMENT,
"/org/gtk/libgsk/glsl/preamble.fs.glsl");
+ gsk_gl_compiler_set_source_from_resource (compiler,
+ GSK_GL_COMPILER_ALL,
+ "/org/gtk/libgsk/glsl/custom.glsl");
gsk_gl_compiler_set_suffix (compiler, GSK_GL_COMPILER_FRAGMENT, suffix);
/* Setup attributes that are provided via VBO */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]