Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ACGL
acgl
Commits
c13e034a
Commit
c13e034a
authored
Mar 01, 2012
by
Robert Menzel
Browse files
added missing public declarations
parent
71e3cc23
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/ACGL/OpenGL/Objects/Buffer.hh
View file @
c13e034a
...
...
@@ -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
);
}
...
...
include/ACGL/OpenGL/Objects/ShaderProgram.hh
View file @
c13e034a
...
...
@@ -116,7 +116,7 @@ public:
// ===================================================================================================== \/
// =========================================================================================== LOCATIONS \/
// ===================================================================================================== \/
public:
//////////// uniform (block) locations:
inline
GLint
getUniformLocation
(
const
std
::
string
&
_nameInShader
)
const
{
return
glGetUniformLocation
(
mObjectName
,
_nameInShader
.
c_str
());
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment