Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
acgl
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ACGL
acgl
Commits
c13e034a
Commit
c13e034a
authored
Mar 01, 2012
by
Robert Menzel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added missing public declarations
parent
71e3cc23
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
include/ACGL/OpenGL/Objects/Buffer.hh
include/ACGL/OpenGL/Objects/Buffer.hh
+2
-0
include/ACGL/OpenGL/Objects/ShaderProgram.hh
include/ACGL/OpenGL/Objects/ShaderProgram.hh
+1
-1
No files found.
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