summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.c b/config.c
index 1265eaf..d886756 100644
--- a/config.c
+++ b/config.c
@@ -564,13 +564,13 @@ static i64 config_read_string(Ted *ted, ConfigReader *cfg, char **ptext) {
static void settings_load_bg_shader(Ted *ted, Settings *s) {
char vshader[8192] ;
strbuf_printf(vshader, "attribute vec2 v_pos;\n\
-varying vec2 t_pos;\n\
+OUT vec2 t_pos;\n\
void main() { \n\
gl_Position = vec4(v_pos * 2.0 - 1.0, 0.0, 1.0);\n\
t_pos = v_pos;\n\
}");
char fshader[8192];
- strbuf_printf(fshader, "varying vec2 t_pos;\n\
+ strbuf_printf(fshader, "IN vec2 t_pos;\n\
uniform float t_time;\n\
uniform float t_save_time;\n\
uniform vec2 t_aspect;\n\