loading textures properly, not rendering yet
This commit is contained in:
1 parent
913e8f6287
commit
f0e4bbd3b1
2 files changed
+2
-2
No files matched your search
+1
-1
Submodule wfobj updated: 1918cc89bf...08e558482f.
+1
-1
@@ -177,7 +177,7 @@ Viewer::Viewer(const char * filename)
|
|||||||
{
|
{
|
||||||
m_dist = 5.0;
|
m_dist = 5.0;
|
||||||
m_dragging = false;
|
m_dragging = false;
|
||||||
if (!m_obj.load(filename))
|
if (!m_obj.load(filename, NULL, load_texture))
|
||||||
{
|
{
|
||||||
cerr << "Error loading " << filename << endl;
|
cerr << "Error loading " << filename << endl;
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|||||||
Reference in new issue
Block a user