Ignoring GL unallocated? memory

This commit is contained in:
IlyaShurupov 2023-09-03 18:41:10 +03:00
parent 2c25667f72
commit 63444be3d0

View file

@ -56,7 +56,9 @@ void Graphics::GL::proc() {
} }
void Graphics::GL::draw() { void Graphics::GL::draw() {
tp::HeapAllocGlobal::startIgnore();
glDrawArrays(GL_TRIANGLES, 0, 3); glDrawArrays(GL_TRIANGLES, 0, 3);
tp::HeapAllocGlobal::stopIgnore();
} }
void Graphics::init(Window* window) { void Graphics::init(Window* window) {