Add missing profiler_pop(). Fixes #36

This commit is contained in:
Luke Benstead 2019-03-29 07:51:09 +00:00
parent ccc9b59d03
commit 2e33dc0718

View File

@ -1231,6 +1231,8 @@ static void submitVertices(GLenum mode, GLsizei first, GLuint count, GLenum type
glBlendFunc(blendSrc, blendDst);
(blendEnabled) ? glEnable(GL_BLEND) : glDisable(GL_BLEND);
(depthEnabled) ? glEnable(GL_DEPTH_TEST) : glDisable(GL_DEPTH_TEST);
profiler_pop();
}
void APIENTRY glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices) {