Commit 7fc547bc authored by Janis Born's avatar Janis Born
Browse files

ElementArrayBuffer: remove unused members mUsage, mMode

parent ca4865d7
......@@ -22,9 +22,7 @@ class ElementArrayBufferControl : public Resource::BasicCreateController<Element
// ========================================================================================================= \/
public:
ElementArrayBufferControl(void)
: mUsage(GL_STATIC_DRAW),
mMode(GL_TRIANGLES),
mType(GL_UNSIGNED_INT),
: mType(GL_UNSIGNED_INT),
mElements(0),
mpData(NULL)
{}
......@@ -34,8 +32,6 @@ public:
// ============================================================================================ METHODS \/
// ==================================================================================================== \/
public:
inline ElementArrayBufferControl& usage (GLenum _usage) { mUsage = _usage; return *this; }
inline ElementArrayBufferControl& mode (GLenum _mode) { mMode = _mode; return *this; }
inline ElementArrayBufferControl& type (GLenum _type) { mType = _type; return *this; }
inline ElementArrayBufferControl& data (const GLvoid* _pData, GLsizei _elements)
......@@ -65,8 +61,6 @@ public:
// ============================================================================================ FIELDS \/
// =================================================================================================== \/
protected:
GLenum mUsage;
GLenum mMode;
GLenum mType;
GLsizei mElements;
const GLvoid* mpData;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment