This is the last desktop-versus-ES2 build ifdef in core glamor. Signed-off-by: Eric Anholt <[email protected]> --- glamor/glamor_priv.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/glamor/glamor_priv.h b/glamor/glamor_priv.h index 81b46b6..e28a021 100644 --- a/glamor/glamor_priv.h +++ b/glamor/glamor_priv.h @@ -37,11 +37,10 @@ #include <epoxy/gl.h> -#ifdef GLAMOR_GLES2 -#define GLAMOR_DEFAULT_PRECISION "precision mediump float;\n" -#else -#define GLAMOR_DEFAULT_PRECISION -#endif +#define GLAMOR_DEFAULT_PRECISION \ + "#ifdef GL_ES\n" \ + "precision mediump float;\n" \ + "#endif\n" #ifdef RENDER #include "glyphstr.h" -- 1.9.rc1 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
