gdk: Move GLSL shaders into GResource

Having the shaders inlined as C strings makes them harder to edit and
maintain.
This commit is contained in:
Emmanuele Bassi
2016-04-22 12:34:33 +01:00
parent d7b5ea89eb
commit 55537cccbd
11 changed files with 162 additions and 90 deletions

View File

@ -0,0 +1,13 @@
#version 150
uniform sampler2D map;
in vec2 position;
in vec2 uv;
out vec2 vUv;
void main() {
gl_Position = vec4(position, 0, 1);
vUv = uv;
}