Use GLSL version 110 for OpenGL 2 shaders.

According to docs and Intel legacy drivers,
GLSL version 130 is for GL 3.0 not GL 2.0/2.1

Validated files with reference compiler from
https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/
This commit is contained in:
Juan Pablo Ugarte 2016-11-01 10:59:05 -03:00 committed by Juan Pablo Ugarte
parent 793f843b08
commit c607d51890
6 changed files with 4 additions and 12 deletions

View File

@ -1,4 +1,4 @@
#version 130
#version 110
varying vec2 vUv;

View File

@ -1,6 +1,4 @@
#version 130
uniform sampler2D map;
#version 110
attribute vec2 position;
attribute vec2 uv;

View File

@ -1,4 +1,4 @@
#version 130
#version 110
varying vec2 vUv;

View File

@ -1,6 +1,4 @@
#version 130
uniform sampler2DRect map;
#version 110
attribute vec2 position;
attribute vec2 uv;

View File

@ -1,7 +1,5 @@
#version 150
uniform sampler2D map;
in vec2 position;
in vec2 uv;

View File

@ -1,7 +1,5 @@
#version 150
uniform sampler2DRect map;
attribute vec2 position;
attribute vec2 uv;