diff options
author | Sven Gothel <[email protected]> | 2011-09-30 15:02:48 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-09-30 15:02:48 +0200 |
commit | dc0cf65dd75079d8f57eb2431c0fe1235fff27ad (patch) | |
tree | e5d576c54c2d6ffdeb31a4dccfde044281bd8954 /src/jogl/classes/jogamp/graph/curve/opengl/shader/precision.glsl | |
parent | cdc99f97fde9211b7f73d8592d3d64c6ec78898a (diff) |
Graph GLSL: Use global precicision settings enhancing readability
Diffstat (limited to 'src/jogl/classes/jogamp/graph/curve/opengl/shader/precision.glsl')
-rw-r--r-- | src/jogl/classes/jogamp/graph/curve/opengl/shader/precision.glsl | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/jogl/classes/jogamp/graph/curve/opengl/shader/precision.glsl b/src/jogl/classes/jogamp/graph/curve/opengl/shader/precision.glsl index f9ed48cb9..9924bd790 100644 --- a/src/jogl/classes/jogamp/graph/curve/opengl/shader/precision.glsl +++ b/src/jogl/classes/jogamp/graph/curve/opengl/shader/precision.glsl @@ -2,15 +2,9 @@ #define precision_glsl #ifdef GL_ES - #define MEDIUMP mediump - #define HIGHP highp - #define LOWP lowp - #define GRAPHP mediump -#else - #define MEDIUMP - #define HIGHP - #define LOWP - #define GRAPHP + precision mediump float; + precision mediump int; + precision mediump sampler2D; #endif #endif // precision_glsl |