Add missing profiler_pop(). Fixes #36
This commit is contained in:
parent
3cb24c4fb4
commit
e2ea07ad92
|
@ -1095,6 +1095,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