mirror of
https://github.com/celisej567/source-engine.git
synced 2026-09-06 20:13:51 +03:00
materialsystem: threaded optimizations, fix mat_queue_mode on some android devices
This commit is contained in:
@@ -455,14 +455,11 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
ALIGN16 uint16 tempIndices[16];
|
||||
static ALIGN16 uint16 tempIndices[256];
|
||||
|
||||
// original method
|
||||
int i = 0;
|
||||
if ( (size_t)desc.m_pIndices % 4 == 2 )
|
||||
{
|
||||
desc.m_pIndices[i] = pIndexData[i] + desc.m_nFirstVertex;
|
||||
i++;
|
||||
}
|
||||
|
||||
while ( i < nIndices )
|
||||
{
|
||||
int nToCopy = min( (int)ARRAYSIZE(tempIndices), nIndices - i );
|
||||
|
||||
Reference in New Issue
Block a user