Fix performance bug in Development/Release builds due to incorrect draw calls batching (uninitialized memory)
This commit is contained in:
@@ -279,10 +279,11 @@ struct DrawCall
|
||||
uint64 SortKey;
|
||||
|
||||
/// <summary>
|
||||
/// Does nothing.
|
||||
/// Zero-init.
|
||||
/// </summary>
|
||||
DrawCall()
|
||||
FORCE_INLINE DrawCall()
|
||||
{
|
||||
Platform::MemoryClear(this, sizeof(DrawCall));
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user