Browse Source

Merge pull request #170 from olliwang/static

Fixed syntax error of checking defined identifier
shared-context
Mikko Mononen 10 years ago
parent
commit
cab10c7c0f
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/nanovg_gl.h

+ 4
- 4
src/nanovg_gl.h View File

@@ -1428,13 +1428,13 @@ error:
return NULL;
}

#if NANOVG_GL2
#if defined NANOVG_GL2
void nvgDeleteGL2(NVGcontext* ctx)
#elif NANOVG_GL3
#elif defined NANOVG_GL3
void nvgDeleteGL3(NVGcontext* ctx)
#elif NANOVG_GLES2
#elif defined NANOVG_GLES2
void nvgDeleteGLES2(NVGcontext* ctx)
#elif NANOVG_GLES3
#elif defined NANOVG_GLES3
void nvgDeleteGLES3(NVGcontext* ctx)
#endif
{


Loading…
Cancel
Save