loading textures properly, not rendering yet

This commit is contained in:
Josh Holtrop committed 2011-05-16 15:33:23 -04:00
1 parent 913e8f6287
commit f0e4bbd3b1
2 files changed
+2 -2

No files matched your search

+1 -1
Submodule wfobj updated: 1918cc89bf...08e558482f.
+1 -1
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);