Commit 6cd625e1 authored by Andreas Neu's avatar Andreas Neu
Browse files

State::validate -> State::update()

parent 269a6c27
......@@ -62,7 +62,7 @@ public:
mFragmentDataMappings(),
mpBuffers(NULL)
{
validate();
update();
}
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 validate (void);
void update (void);
void render (void);
// =================================================================================================== \/
......
......@@ -14,7 +14,7 @@ using namespace ACGL::Base;
using namespace ACGL::Utils;
using namespace ACGL::OpenGL;
void State::validate(void)
void State::update (void)
{
ShaderProgram::ConstSharedShaderVec shaders = mpShaderProgram->getShaders();
......
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