From 3f883b9aba38cc5ee570d098a794bb4d3c743612 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Mon, 13 Aug 2012 12:23:01 +0000 Subject: [PATCH] tutorial: fix the FBO shader so that it works with OpenGL ES. --- tutorial/08_fbo.lolfx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tutorial/08_fbo.lolfx b/tutorial/08_fbo.lolfx index ade2f05a..5d407a33 100644 --- a/tutorial/08_fbo.lolfx +++ b/tutorial/08_fbo.lolfx @@ -16,6 +16,10 @@ void main() #version 120 +#if defined GL_ES +precision highp float; +#endif + uniform sampler2D in_Texture; uniform float in_Flag; uniform vec3 in_Point;