mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-28 04:41:07 +00:00
Apply enabled/disabled vertex attribs too
This commit is contained in:
@@ -187,6 +187,11 @@ void GLResourceManager::Apply_InitialState(GLResource live, InitialContentData i
|
||||
|
||||
for(GLuint i=0; i < 16; i++)
|
||||
{
|
||||
if(initialdata[i].enabled)
|
||||
m_GL->glEnableVertexAttribArray(i);
|
||||
else
|
||||
m_GL->glDisableVertexAttribArray(i);
|
||||
|
||||
m_GL->glVertexAttribBinding(i, initialdata[i].vbslot);
|
||||
|
||||
if(initialdata[i].integer == 0)
|
||||
|
||||
Reference in New Issue
Block a user