Commit cd888c1a authored by Janis Born's avatar Janis Born
Browse files

fix wrong variable type in VertexArrayObjectControlFile.cc

parent f91666d0
......@@ -6,6 +6,7 @@
#include <ACGL/OpenGL/Controller/VertexArrayObjectControlFile.hh>
#include <ACGL/OpenGL/Controller/DataControlFileFactory.hh>
using namespace ACGL;
using namespace ACGL::OpenGL;
VertexArrayObjectControlFile::VertexArrayObjectControlFile(const std::string& _filename)
......@@ -35,7 +36,7 @@ bool VertexArrayObjectControlFile::load(SharedVertexArrayObject& _vao)
return false;
SharedArrayBuffer sab = SharedArrayBuffer( new ArrayBuffer() );
for ( u_int i = 0; i < tempData->mAttributes.size(); ++i ) {
for ( uint_t i = 0; i < tempData->mAttributes.size(); ++i ) {
sab->defineAttribute( tempData->mAttributes[i] );
}
sab->setDataElements( tempData->getSize()/tempData->getStrideSize(), tempData->getData() );
......
Supports Markdown
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