loading textures properly, not rendering yet

This commit is contained in:
Josh Holtrop 2011-05-16 15:33:23 -04:00
parent 913e8f6287
commit f0e4bbd3b1
2 changed files with 2 additions and 2 deletions

2
wfobj

@ -1 +1 @@
Subproject commit 1918cc89bf954db83d079cfe4566a719fdc65237
Subproject commit 08e558482f1b79ff8119c426de2ff6156fd470dc

View File

@ -177,7 +177,7 @@ Viewer::Viewer(const char * filename)
{
m_dist = 5.0;
m_dragging = false;
if (!m_obj.load(filename))
if (!m_obj.load(filename, NULL, load_texture))
{
cerr << "Error loading " << filename << endl;
exit(1);