diff options
author | Sven Gothel <[email protected]> | 2011-07-31 20:43:41 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-07-31 20:43:41 +0200 |
commit | 355d1da079f9635bba3441482766f100b8c8e7ce (patch) | |
tree | 3649fa39e1bdeabf04e296a17e195a0f59a8a5e9 /src/jogl/classes/jogamp/graph/curve/opengl/shader/precision.glsl | |
parent | 9f59125e322b80f62b791ae9af3ee6405307cbde (diff) |
Graph Shader: def. GRAPHP to easily change precision, set to mediump; Add precision for all vars.
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 | 2 |
1 files changed, 2 insertions, 0 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 1ac4ed8e9..f9ed48cb9 100644 --- a/src/jogl/classes/jogamp/graph/curve/opengl/shader/precision.glsl +++ b/src/jogl/classes/jogamp/graph/curve/opengl/shader/precision.glsl @@ -5,10 +5,12 @@ #define MEDIUMP mediump #define HIGHP highp #define LOWP lowp + #define GRAPHP mediump #else #define MEDIUMP #define HIGHP #define LOWP + #define GRAPHP #endif #endif // precision_glsl |