Cleanup some headers in Graphics module

This commit is contained in:
Wojtek Figat
2021-06-18 16:38:44 +02:00
parent f5a6a18232
commit 94f50ce8cb
11 changed files with 58 additions and 53 deletions

View File

@@ -167,7 +167,7 @@ public:
/// <returns>The Constant Buffer object.</returns>
API_FUNCTION() FORCE_INLINE GPUConstantBuffer* GetCB(int32 slot) const
{
ASSERT_LOW_LAYER(Math::IsInRange<int32>(slot, 0, ARRAY_COUNT(_constantBuffers) - 1));
ASSERT_LOW_LAYER(slot >= 0 && slot < ARRAY_COUNT(_constantBuffers));
return _constantBuffers[slot];
}