From 76a754b69167f6e6d627a3c89440f3de356b179c Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 14 Dec 2015 19:36:58 +0200 Subject: [PATCH] Use the appropriate GLSL version for OpenGL 3.1 --- source/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/main.c b/source/main.c index 8aa377f..a14ea8d 100644 --- a/source/main.c +++ b/source/main.c @@ -103,7 +103,7 @@ typedef struct Compositor } Compositor; static const char *vshader_src = - "#version 150\n" + "#version 130\n" "uniform vec4 geometry;\n" "in vec2 vertex;\n" "in vec2 texture_coord;\n" @@ -115,7 +115,7 @@ static const char *vshader_src = "}\n"; static const char *fshader_src = - "#version 150\n" + "#version 130\n" "uniform sampler2D image;\n" "in vec2 texcoord;\n" "out vec4 frag_color;\n" @@ -125,7 +125,7 @@ static const char *fshader_src = "}\n"; static const char *masked_fshader_src = - "#version 150\n" + "#version 130\n" "uniform sampler2D image;\n" "uniform sampler2D mask;\n" "in vec2 texcoord;\n" -- 2.43.0