Remove CHECK_GL_ERR from TexturedBatch.cpp

This commit is contained in:
elipzer 2018-10-10 10:56:35 -04:00
parent 49f7a3e2d7
commit 43ddc00224

View File

@ -1,7 +1,5 @@
#include "TexturedBatch.h" #include "TexturedBatch.h"
#include "Util.h" // CHECK_GL_ERR
namespace charcoal namespace charcoal
{ {
namespace builtin namespace builtin
@ -12,9 +10,7 @@ namespace charcoal
{ {
glActiveTexture(GL_TEXTURE0); glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, m_p_renderable->get_texture()->get_texture()); glBindTexture(GL_TEXTURE_2D, m_p_renderable->get_texture()->get_texture());
CHECK_GL_ERR();
glBindSampler(0, m_p_renderable->get_sampler()->get_sampler()); glBindSampler(0, m_p_renderable->get_sampler()->get_sampler());
CHECK_GL_ERR();
} }
void Batch::setup_vao() void Batch::setup_vao()