updated loadModel slightly

git-svn-id: svn://anubis/anaglym/trunk@29 99a6e188-d820-4881-8870-2d33a10e2619
This commit is contained in:
Josh Holtrop 2009-09-22 22:19:51 +00:00
parent 302764c865
commit c26261d1cf

4
ag.cc
View File

@ -107,7 +107,9 @@ namespace ag
if (path != "")
{
WFObj * obj = new WFObj();
obj->load(path);
if (!obj->load(path))
cerr << "error loading object" << endl;
GLuint dl = obj->render();
}
}