Remove CHECK_GL_ERR from TexturedBatch.cpp
This commit is contained in:
parent
49f7a3e2d7
commit
43ddc00224
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user