diff options
author | pommicket <pommicket@gmail.com> | 2022-11-03 20:22:03 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-11-03 20:22:03 -0400 |
commit | e894fe92cdc669ae05d15da2a66bc8db5af8bfdf (patch) | |
tree | f66e98e3189e3c18730a6d964d96088ed36db282 /config.c | |
parent | e263805bf5e6f4a13f82287803ad3c44e1c1cc5e (diff) |
[1.3] allow newer glsl versions w IN,OUT macros, msi version
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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\ |