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
6cd625e1
Commit
6cd625e1
authored
Aug 18, 2011
by
Andreas Neu
Browse files
State::validate -> State::update()
parent
269a6c27
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/ACGL/OpenGL/Objects/State.hh
View file @
6cd625e1
...
...
@@ -62,7 +62,7 @@ public:
mFragmentDataMappings
(),
mpBuffers
(
NULL
)
{
vali
date
();
up
date
();
}
virtual
~
State
(
void
)
...
...
@@ -75,16 +75,15 @@ public:
// ============================================================================================ GETTERS \/
// ==================================================================================================== \/
public:
inline
ConstSharedVertexBuffer
getVertexBuffer
(
void
)
const
{
return
mpVertexBuffer
;
}
inline
ConstSharedFrameBuffer
getFrameBuffer
(
void
)
const
{
return
mpFrameBuffer
;
}
inline
ConstSharedVertexBuffer
getVertexBuffer
(
void
)
const
{
return
mpVertexBuffer
;
}
inline
ConstSharedFrameBuffer
getFrameBuffer
(
void
)
const
{
return
mpFrameBuffer
;
}
inline
ConstSharedShaderProgram
getShaderProgram
(
void
)
const
{
return
mpShaderProgram
;
}
// ==================================================================================================== \/
// ============================================================================================ METHODS \/
// ==================================================================================================== \/
public:
void
vali
date
(
void
);
void
up
date
(
void
);
void
render
(
void
);
// =================================================================================================== \/
...
...
src/ACGL/OpenGL/Objects/State.cc
View file @
6cd625e1
...
...
@@ -14,7 +14,7 @@ using namespace ACGL::Base;
using
namespace
ACGL
::
Utils
;
using
namespace
ACGL
::
OpenGL
;
void
State
::
vali
date
(
void
)
void
State
::
up
date
(
void
)
{
ShaderProgram
::
ConstSharedShaderVec
shaders
=
mpShaderProgram
->
getShaders
();
...
...
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