Commit 5fa8def9 authored by Juan Pablo Ugarte's avatar Juan Pablo Ugarte Committed by Juan Pablo Ugarte

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/
parent 28ce953c
#version 130
#version 110
varying vec2 vUv;
......
#version 130
uniform sampler2D map;
#version 110
attribute vec2 position;
attribute vec2 uv;
......
#version 130
#version 110
varying vec2 vUv;
......
#version 130
uniform sampler2DRect map;
#version 110
attribute vec2 position;
attribute vec2 uv;
......
#version 150
uniform sampler2D map;
in vec2 position;
in vec2 uv;
......
#version 150
uniform sampler2DRect map;
attribute vec2 position;
attribute vec2 uv;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment