Commit c13e034a authored by Robert Menzel's avatar Robert Menzel

added missing public declarations

parent 71e3cc23
......@@ -143,6 +143,8 @@ public:
inline GLint64 getMapOffset() const { return getParameter64( GL_BUFFER_MAP_OFFSET ); }
inline GLint64 getMapLength() const { return getParameter64( GL_BUFFER_MAP_LENGTH ); }
#else // OpenGL pre 3.2:
public:
//inline GLint getSize() const { return getParameter ( GL_BUFFER_SIZE ); }
inline GLint getMapOffset() const { return getParameter ( GL_BUFFER_MAP_OFFSET ); }
inline GLint getMapLength() const { return getParameter ( GL_BUFFER_MAP_LENGTH ); }
......
......@@ -116,7 +116,7 @@ public:
// ===================================================================================================== \/
// =========================================================================================== LOCATIONS \/
// ===================================================================================================== \/
public:
//////////// uniform (block) locations:
inline GLint getUniformLocation (const std::string& _nameInShader) const { return glGetUniformLocation (mObjectName, _nameInShader.c_str()); }
......
Markdown is supported
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