forked from Dynamitos/Seele
Removing multiple inheritance from cmd buffers
This commit is contained in:
1 parent
1e742c1f45
commit
a0693daa67
14 files changed
+131
-121
No files matched your search
@@ -276,7 +276,7 @@ static Map<uint32, PVertexDeclaration> vertexDeclarationCache;
|
||||
|
||||
PVertexDeclaration VertexDeclaration::createDeclaration(PGraphics graphics, const Array<VertexElement>& elementList)
|
||||
{
|
||||
std::scoped_lock lock(vertexDeclarationLock);
|
||||
std::unique_lock lock(vertexDeclarationLock);
|
||||
boost::crc_32_type result;
|
||||
result.process_bytes(&elementList, sizeof(VertexElement) * elementList.size());
|
||||
uint32 key = result.checksum();
|
||||
|
||||
Reference in new issue
Block a user