🔧 Use new global methods for shader I/O

This commit is contained in:
Simon Schneegans
2022-06-10 07:20:21 +02:00
parent 25f2261ad6
commit 0bd0fb27b9
11 changed files with 43 additions and 77 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ uniform float uTime;
uniform vec2 uSize;
uniform float uPadding;
// On GNOME, we set iTexCoord and oColor to be aliases for the cogl variables.
// On GNOME, we set iTexCoord to be an alias for the cogl variables.
#define iTexCoord cogl_tex_coord_in[0]
// Shell.GLSLEffect uses straight alpha. So we have to convert from premultiplied.