- added default precision settings to shader include because some old ATI drivers complain if they aren't there - even though the spec doesn't require them...

This commit is contained in:
Christoph Oelckers 2014-07-27 16:09:47 +02:00
parent 4904abfc1c
commit 754c96a540

View file

@ -1,5 +1,9 @@
// This file contains common data definitions for both vertex and fragment shader
// these settings are actually pointless but there seem to be some old ATI drivers that fail to compile the shader without setting the precision here.
precision highp int;
precision highp float;
uniform vec4 uCameraPos;
uniform int uTextureMode;
uniform float uClipHeightTop, uClipHeightBottom;