From b54faeff308150d3efba1a889426dbc57ac56611 Mon Sep 17 00:00:00 2001 From: Mikko Mononen Date: Sat, 19 Apr 2014 19:39:52 +0300 Subject: [PATCH] Added TODO about GLES2 pixel shader precision --- src/nanovg_gl3buf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nanovg_gl3buf.h b/src/nanovg_gl3buf.h index ee97353..9206129 100644 --- a/src/nanovg_gl3buf.h +++ b/src/nanovg_gl3buf.h @@ -369,6 +369,8 @@ static int glnvg__renderCreate(void* uptr) struct GLNVGcontext* gl = (struct GLNVGcontext*)uptr; int align = 1; + // TODO: mediump float may not be enough for GLES2 in iOS. + // see the following discussion: https://github.com/memononen/nanovg/issues/46 static const char* shaderHeader = #if defined NANOVG_GL2 "#define NANOVG_GL2 1\n";