| 5500 | } |
| 5501 | |
| 5502 | void ProgramGL::bindAttributesEnd() |
| 5503 | { |
| 5504 | for (uint32_t ii = 0, iiEnd = m_usedCount; ii < iiEnd; ++ii) |
| 5505 | { |
| 5506 | if (Attrib::Count != m_unboundUsedAttrib[ii]) |
| 5507 | { |
| 5508 | Attrib::Enum attr = Attrib::Enum(m_unboundUsedAttrib[ii]); |
| 5509 | GLint loc = m_attributes[attr]; |
| 5510 | lazyDisableVertexAttribArray(loc); |
| 5511 | } |
| 5512 | } |
| 5513 | |
| 5514 | applyLazyEnabledVertexAttributes(); |
| 5515 | } |
| 5516 | |
| 5517 | void ProgramGL::unbindAttributes() |
| 5518 | { |
no test coverage detected