Add missing profiler_pop(). Fixes #36
This commit is contained in:
parent
ccc9b59d03
commit
2e33dc0718
|
@ -1231,6 +1231,8 @@ static void submitVertices(GLenum mode, GLsizei first, GLuint count, GLenum type
|
||||||
glBlendFunc(blendSrc, blendDst);
|
glBlendFunc(blendSrc, blendDst);
|
||||||
(blendEnabled) ? glEnable(GL_BLEND) : glDisable(GL_BLEND);
|
(blendEnabled) ? glEnable(GL_BLEND) : glDisable(GL_BLEND);
|
||||||
(depthEnabled) ? glEnable(GL_DEPTH_TEST) : glDisable(GL_DEPTH_TEST);
|
(depthEnabled) ? glEnable(GL_DEPTH_TEST) : glDisable(GL_DEPTH_TEST);
|
||||||
|
|
||||||
|
profiler_pop();
|
||||||
}
|
}
|
||||||
|
|
||||||
void APIENTRY glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices) {
|
void APIENTRY glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user