Commit 5eb38ec2 authored by Maciej Sumiński's avatar Maciej Sumiński

Made shaders compatible with Intel GPUs.

parent bc8ea550
......@@ -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()
{
......
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