removed debug stuff.

This commit is contained in:
Marco Di Benedetto 2013-02-05 18:43:59 +00:00
parent 0839617d99
commit bdab65e067
1 changed files with 0 additions and 4 deletions

View File

@ -460,11 +460,7 @@ class Context : public detail::NonCopyable
if (GLEW_ARB_uniform_buffer_object)
{
GLint uniformBuffers = 0;
glGetIntegerv(GL_MAX_UNIFORM_BUFFER_BINDINGS, &uniformBuffers);
GLenum err = glGetError();
const GLubyte* errr = gluErrorString(err);
assert(err == GL_NO_ERROR);
this->m_maxUniformBuffers = int(uniformBuffers);
for (int i=0; i<this->m_maxUniformBuffers; ++i)
{