From 43ddc0022458394e2eb909ed19276fd3dd3160f7 Mon Sep 17 00:00:00 2001 From: elipzer Date: Wed, 10 Oct 2018 10:56:35 -0400 Subject: [PATCH] Remove CHECK_GL_ERR from TexturedBatch.cpp --- OpenGLEngine/TexturedBatch.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/OpenGLEngine/TexturedBatch.cpp b/OpenGLEngine/TexturedBatch.cpp index 41987ba..1a8d479 100644 --- a/OpenGLEngine/TexturedBatch.cpp +++ b/OpenGLEngine/TexturedBatch.cpp @@ -1,7 +1,5 @@ #include "TexturedBatch.h" -#include "Util.h" // CHECK_GL_ERR - namespace charcoal { namespace builtin @@ -12,9 +10,7 @@ namespace charcoal { glActiveTexture(GL_TEXTURE0); glBindTexture(GL_TEXTURE_2D, m_p_renderable->get_texture()->get_texture()); - CHECK_GL_ERR(); glBindSampler(0, m_p_renderable->get_sampler()->get_sampler()); - CHECK_GL_ERR(); } void Batch::setup_vao()