mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-11 08:20:45 +00:00
Add a workaround for the 16 vertex attribute limit on nvidia gl
This commit is contained in:
parent
6283a6b9da
commit
ace01a313c
4 changed files with 11 additions and 19 deletions
|
|
@ -105,6 +105,8 @@ void GFXGLVertexDecl::_initVerticesFormat(U32 stream)
|
|||
if(element.getStreamIndex() != stream)
|
||||
continue;
|
||||
|
||||
AssertFatal(!mFormat->hasBlendIndices() || !element.isSemantic(GFXSemantic::TEXCOORD) || (mFormat->hasBlendIndices() && element.isSemantic(GFXSemantic::TEXCOORD) && element.getSemanticIndex() < 2), "skinning with more than 2 used texcoords!");
|
||||
|
||||
vertexSize += element.getSizeInBytes();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue