Made shaders compatible with Intel GPUs.
This commit is contained in:
parent
bc8ea55092
commit
5eb38ec232
|
@ -25,14 +25,13 @@
|
|||
*/
|
||||
|
||||
#version 120
|
||||
//#pragma debug(on)
|
||||
|
||||
// Shader types
|
||||
const float SHADER_LINE = 1.0;
|
||||
const float SHADER_FILLED_CIRCLE = 2.0;
|
||||
const float SHADER_STROKED_CIRCLE = 3.0;
|
||||
|
||||
varying in vec4 shaderParams;
|
||||
varying vec4 shaderParams;
|
||||
|
||||
void filledCircle( vec2 aCoord )
|
||||
{
|
||||
|
|
|
@ -31,8 +31,8 @@ const float SHADER_LINE = 1.0;
|
|||
const float SHADER_FILLED_CIRCLE = 2.0;
|
||||
const float SHADER_STROKED_CIRCLE = 3.0;
|
||||
|
||||
attribute vec4 attrShaderParams;
|
||||
varying out vec4 shaderParams;
|
||||
attribute vec4 attrShaderParams;
|
||||
varying vec4 shaderParams;
|
||||
|
||||
void main()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue