From 2388a116e3477e92e046a17452b150d884864797 Mon Sep 17 00:00:00 2001 From: Skarn Date: Wed, 14 Oct 2020 13:32:00 +0300 Subject: [PATCH] remove opengl error debug checks --- src/opengl/primitives.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/opengl/primitives.cpp b/src/opengl/primitives.cpp index 94edb318..93151d12 100644 --- a/src/opengl/primitives.cpp +++ b/src/opengl/primitives.cpp @@ -113,20 +113,12 @@ namespace opengl , GL_STATIC_DRAW ); - auto test = glGetError(); - opengl::scoped::use_program shader (*_program.get()); - test = glGetError(); - opengl::scoped::vao_binder const _ (_vao[0]); - test = glGetError(); - shader.attrib("position", 3, GL_FLOAT, GL_FALSE, 0, 0); - test = glGetError(); - _buffers_are_setup = true; }