Render command now uses uint32_t
This commit is contained in:
@@ -84,7 +84,7 @@ namespace Nuake {
|
||||
sRendererAPI->DrawMultiElements(mode, count, type, indices, drawCount);
|
||||
}
|
||||
|
||||
void RenderCommand::DrawElements(const RendererEnum mode, const int count, const RendererEnum type, const void* indices)
|
||||
void RenderCommand::DrawElements(const RendererEnum mode, const uint32_t count, const RendererEnum type, const void* indices)
|
||||
{
|
||||
sRendererAPI->DrawElements(mode, count, type, indices);
|
||||
}
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace Nuake {
|
||||
static void BindVertexArray(const unsigned int& rendererID);
|
||||
static void VertexAttribPointer(const unsigned int index, const int size, const RendererEnum type, bool normalized, int stride, const void* pointer);
|
||||
static void DrawMultiElements(const RendererEnum mode, const int count, const RendererEnum type, const void* const* indices, unsigned int drawCount);
|
||||
static void DrawElements(const RendererEnum mode, const int count, const RendererEnum type, const void* indices);
|
||||
static void DrawElements(const RendererEnum mode, const uint32_t count, const RendererEnum type, const void* indices);
|
||||
static void DrawArrays(int first, int count);
|
||||
|
||||
static void DrawLines(int first, int count);
|
||||
|
||||
Reference in New Issue
Block a user