summaryrefslogtreecommitdiff
path: root/drivers/gles2/shaders/canvas.glsl
diff options
context:
space:
mode:
authorclayjohn <claynjohn@gmail.com>2019-07-28 11:06:05 -0700
committerclayjohn <claynjohn@gmail.com>2019-07-29 11:17:08 -0700
commit3f25dde6b4c46bec1fd25a3dd8f65c774b0fef94 (patch)
treeb9ccae49176d3ef73ea3167f46f1f1ee4c6d583b /drivers/gles2/shaders/canvas.glsl
parent5dae2ea777da5395cf1b1e9a8bc6abc93f6ae6bb (diff)
added round function to gles2
Diffstat (limited to 'drivers/gles2/shaders/canvas.glsl')
-rw-r--r--drivers/gles2/shaders/canvas.glsl2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gles2/shaders/canvas.glsl b/drivers/gles2/shaders/canvas.glsl
index 0818942b0a..55ee50f66d 100644
--- a/drivers/gles2/shaders/canvas.glsl
+++ b/drivers/gles2/shaders/canvas.glsl
@@ -258,6 +258,8 @@ precision mediump int;
#endif
#endif
+#include "stdlib.glsl"
+
uniform sampler2D color_texture; // texunit:-1
/* clang-format on */
uniform highp vec2 color_texpixel_size;