Cleaned up some internal love.graphics code.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-12-03 23:04:40 -04:00
parent cbcb1a8606
commit e099e57052
7 changed files with 40 additions and 51 deletions
+1 -6
View File
@@ -115,7 +115,6 @@ public:
struct Stats
{
int drawCalls;
int shaderSwitches;
} stats;
@@ -201,12 +200,8 @@ public:
void deleteBuffer(GLuint buffer);
/**
* glDrawArrays and glDrawElements which increment the draw-call counter by
* themselves.
* Set all vertex attribute state.
**/
void drawArrays(GLenum mode, GLint first, GLsizei count, GLsizei instancecount = 1);
void drawElements(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount = 1);
void setVertexAttributes(const vertex::Attributes &attributes, const vertex::Buffers &buffers);
/**