Added glFrontFace(GL_CCW) to glnvg__renderFlush

This commit is contained in:
Christian Forfang 2014-05-01 12:27:39 +02:00
parent 7aa5a74ec5
commit d7344e0699

View File

@ -900,6 +900,7 @@ static void glnvg__renderFlush(void* uptr, int alphaBlend)
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glEnable(GL_CULL_FACE); glEnable(GL_CULL_FACE);
glCullFace(GL_BACK); glCullFace(GL_BACK);
glFrontFace(GL_CCW);
glEnable(GL_BLEND); glEnable(GL_BLEND);
glDisable(GL_DEPTH_TEST); glDisable(GL_DEPTH_TEST);
glDisable(GL_SCISSOR_TEST); glDisable(GL_SCISSOR_TEST);