diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-06-22 21:22:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-06-22 21:22:48 +0300 |
commit | a83a94b55fcf76e39b1a43dca92957befd874b73 (patch) | |
tree | a89c1f83a4924a3cbffc1994144416610654beae | |
parent | 8ad99cc3f4dd98f0b73a2ece9323f01099a81e80 (diff) | |
download | mv-a83a94b55fcf76e39b1a43dca92957befd874b73.tar.gz mv-a83a94b55fcf76e39b1a43dca92957befd874b73.tar.bz2 mv-a83a94b55fcf76e39b1a43dca92957befd874b73.tar.xz mv-a83a94b55fcf76e39b1a43dca92957befd874b73.zip |
In modernopengl decrease GLSL version from 150 core to 130.
-rw-r--r-- | data/graphics/shaders/simple_frag.glsl | 2 | ||||
-rw-r--r-- | data/graphics/shaders/simple_vertex.glsl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/data/graphics/shaders/simple_frag.glsl b/data/graphics/shaders/simple_frag.glsl index 7a68c364c..2c149351a 100644 --- a/data/graphics/shaders/simple_frag.glsl +++ b/data/graphics/shaders/simple_frag.glsl @@ -1,4 +1,4 @@ -#version 150 core +#version 130 in vec2 Texcoord; out vec4 outColor; uniform sampler2D tex; diff --git a/data/graphics/shaders/simple_vertex.glsl b/data/graphics/shaders/simple_vertex.glsl index 646e72358..317d41c6d 100644 --- a/data/graphics/shaders/simple_vertex.glsl +++ b/data/graphics/shaders/simple_vertex.glsl @@ -1,4 +1,4 @@ -#version 150 core +#version 130 in ivec4 position; out vec2 Texcoord; uniform vec2 screen; |