bug 900702 - GLContext DrawArraysInstanced and DrawElementsInstanced doesn't call {Before,After}GLDrawCall() - r=bjacob

This commit is contained in:
Guillaume Abadie 2013-08-01 18:27:54 -04:00
Родитель 2ee4931d46
Коммит b5427bee94
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -2015,18 +2015,22 @@ public:
public:
void fDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei primcount)
{
BeforeGLDrawCall();
BEFORE_GL_CALL;
ASSERT_SYMBOL_PRESENT(fDrawArraysInstanced);
mSymbols.fDrawArraysInstanced(mode, first, count, primcount);
AFTER_GL_CALL;
AfterGLDrawCall();
}
void fDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices, GLsizei primcount)
{
BeforeGLDrawCall();
BEFORE_GL_CALL;
ASSERT_SYMBOL_PRESENT(fDrawElementsInstanced);
mSymbols.fDrawElementsInstanced(mode, count, type, indices, primcount);
AFTER_GL_CALL;
AfterGLDrawCall();
}