Commit 0e1756e3 authored by Jan Möbius's avatar Jan Möbius
Browse files

Removed the simulate only part from vertex declaration

refs #901



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15661 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 44cca6c7
......@@ -214,7 +214,6 @@ void VertexDeclaration::activateFixedFunction()
{
const VertexElement* pElem = getElement(i);
#ifndef SIMULATE_ONLY
switch (pElem->usage_)
{
case VERTEX_USAGE_POSITION:
......@@ -243,8 +242,9 @@ void VertexDeclaration::activateFixedFunction()
ACG::GLState::normalPointer(pElem->type_, vertexStride, pElem->pDataSrc_);
ACG::GLState::enableClientState(GL_NORMAL_ARRAY);
} break;
default: break;
}
#endif // SIMULATE_ONLY
}
......
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