We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e991fd3 commit 5c3a6d0Copy full SHA for 5c3a6d0
cocos/renderer/backend/opengl/ProgramGL.cpp
@@ -161,6 +161,7 @@ void ProgramGL::compileProgram()
161
162
void ProgramGL::computeAttributeInfos(const RenderPipelineDescriptor& descriptor)
163
{
164
+ _attributeInfos.clear();
165
const auto& vertexLayouts = descriptor.vertexLayouts;
166
for (const auto& vertexLayout : vertexLayouts)
167
0 commit comments