From 63444be3d0f3af100c088a6f6ed2050d67244559 Mon Sep 17 00:00:00 2001 From: IlyaShurupov Date: Sun, 3 Sep 2023 18:41:10 +0300 Subject: [PATCH] Ignoring GL unallocated? memory --- Graphics/private/bindings/Window.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Graphics/private/bindings/Window.cpp b/Graphics/private/bindings/Window.cpp index 81d6f32..98e7446 100644 --- a/Graphics/private/bindings/Window.cpp +++ b/Graphics/private/bindings/Window.cpp @@ -56,7 +56,9 @@ void Graphics::GL::proc() { } void Graphics::GL::draw() { + tp::HeapAllocGlobal::startIgnore(); glDrawArrays(GL_TRIANGLES, 0, 3); + tp::HeapAllocGlobal::stopIgnore(); } void Graphics::init(Window* window) {