Cleanup Scene file
- Introduce new class ComponentHandler which handles all the Serializing/Deserializing/Editor Gui of Components - Currently only Deserializing and Editor Gui is implemented for existing components
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Copium
|
||||
|
||||
void IndexBuffer::Draw(const CommandBuffer& commandBuffer, int indices)
|
||||
{
|
||||
CP_ASSERT(indices > 0 && indices <= indexCount, "amount of indices is out of range");
|
||||
CP_ASSERT(indices >= 0 && indices <= indexCount, "amount of indices is out of range");
|
||||
vkCmdDrawIndexed(commandBuffer, indices, 1, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user