From 857d2efe45eb64e7361a10b09e0d3ea066ccf8df Mon Sep 17 00:00:00 2001 From: Mikko Mononen Date: Tue, 1 Apr 2014 16:35:29 +0300 Subject: [PATCH] Small addition to debug hints --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 590d1e6..5b1bd18 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ nvgFill(vg); - make sure you have created NanoVG context using one of the `nvgCreatexxx()` calls - make sure you have initialised OpenGL with stencil buffer - make sure you have cleared stencil buffer +- make sure all rendering calls happen between `nvgBeginFrame()` and `nvgEndFrame()` - make sure you have following OpenGL state between calls to `nvgBeginFrame()` and `nvgEndFrame()`: - `glEnable(GL_CULL_FACE)` - `glCullFace(GL_BACK)`