Browse Source

Added TODO about GLES2 pixel shader precision

shared-context
Mikko Mononen 11 years ago
parent
commit
b54faeff30
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/nanovg_gl3buf.h

+ 2
- 0
src/nanovg_gl3buf.h View File

@@ -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";


Loading…
Cancel
Save