loading textures properly, not rendering yet
This commit is contained in:
parent
913e8f6287
commit
f0e4bbd3b1
2
wfobj
2
wfobj
@ -1 +1 @@
|
||||
Subproject commit 1918cc89bf954db83d079cfe4566a719fdc65237
|
||||
Subproject commit 08e558482f1b79ff8119c426de2ff6156fd470dc
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user