mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
gsk: Fix shader gresource paths
They were never updated after having been moved.
This commit is contained in:
parent
2e031e47dd
commit
ae7f380396
@ -1129,13 +1129,13 @@ compile_glshader (GskGLRenderer *self,
|
||||
}
|
||||
|
||||
gsk_gl_shader_builder_init (&shader_builder,
|
||||
"/org/gtk/libgsk/glsl/preamble.glsl",
|
||||
"/org/gtk/libgsk/glsl/preamble.vs.glsl",
|
||||
"/org/gtk/libgsk/glsl/preamble.fs.glsl");
|
||||
"/org/gtk/libgsk/gl/preamble.glsl",
|
||||
"/org/gtk/libgsk/gl/preamble.vs.glsl",
|
||||
"/org/gtk/libgsk/gl/preamble.fs.glsl");
|
||||
|
||||
init_shader_builder (self, &shader_builder);
|
||||
program_id = gsk_gl_shader_builder_create_program (&shader_builder,
|
||||
"/org/gtk/libgsk/glsl/custom.glsl",
|
||||
"/org/gtk/libgsk/gl/custom.glsl",
|
||||
shader_source, shader_source_len,
|
||||
error);
|
||||
gsk_gl_shader_builder_finish (&shader_builder);
|
||||
|
@ -1074,16 +1074,16 @@ gsk_ngl_driver_lookup_shader (GskNglDriver *self,
|
||||
|
||||
gsk_ngl_compiler_set_preamble_from_resource (compiler,
|
||||
GSK_NGL_COMPILER_ALL,
|
||||
"/org/gtk/libgsk/glsl/preamble.glsl");
|
||||
"/org/gtk/libgsk/ngl/preamble.glsl");
|
||||
gsk_ngl_compiler_set_preamble_from_resource (compiler,
|
||||
GSK_NGL_COMPILER_VERTEX,
|
||||
"/org/gtk/libgsk/glsl/preamble.vs.glsl");
|
||||
"/org/gtk/libgsk/ngl/preamble.vs.glsl");
|
||||
gsk_ngl_compiler_set_preamble_from_resource (compiler,
|
||||
GSK_NGL_COMPILER_FRAGMENT,
|
||||
"/org/gtk/libgsk/glsl/preamble.fs.glsl");
|
||||
"/org/gtk/libgsk/ngl/preamble.fs.glsl");
|
||||
gsk_ngl_compiler_set_source_from_resource (compiler,
|
||||
GSK_NGL_COMPILER_ALL,
|
||||
"/org/gtk/libgsk/glsl/custom.glsl");
|
||||
"/org/gtk/libgsk/ngl/custom.glsl");
|
||||
gsk_ngl_compiler_set_suffix (compiler, GSK_NGL_COMPILER_FRAGMENT, suffix);
|
||||
|
||||
/* Setup attributes that are provided via VBO */
|
||||
|
Loading…
Reference in New Issue
Block a user