Created
February 11, 2015 15:14
-
-
Save attilaz/78bfe8fa093dd128ad9d to your computer and use it in GitHub Desktop.
renderergl_hack.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void ProgramGL::bindAttributes(const VertexDecl& _vertexDecl, uint32_t _baseVertex) const | |
{ | |
for (uint32_t ii = 0; ii < 15; ++ii) | |
GL_CHECK(glDisableVertexAttribArray(ii) ); | |
for (uint32_t ii = 0; Attrib::Count != m_used[ii]; ++ii) | |
{ | |
Attrib::Enum attr = Attrib::Enum(m_used[ii]); | |
GLint loc = m_attributes[attr]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment