diff options
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Plugins/Plugin_VideoSoftware/Src/VertexLoader.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_VideoSoftware/Src/VertexLoader.cpp b/Source/Plugins/Plugin_VideoSoftware/Src/VertexLoader.cpp index 4e5be78a53..cbf576ddcd 100644 --- a/Source/Plugins/Plugin_VideoSoftware/Src/VertexLoader.cpp +++ b/Source/Plugins/Plugin_VideoSoftware/Src/VertexLoader.cpp @@ -252,7 +252,8 @@ void VertexLoader::SetFormat(u8 attributeIndex, u8 primitiveType) m_texCoordLoader[i] = tableReadTexCoord[desc][format][elements];
m_VertexSize += tableReadTexCoordVertexSize[desc][format][elements];
- AddAttributeLoader(LoadTexCoord, i);
+ if (m_texCoordLoader[i])
+ AddAttributeLoader(LoadTexCoord, i);
}
// special case if only pos and tex coord 0 and tex coord input is AB11
|
