remove unnecessary WFObj/driver.cc file

This commit is contained in:
Josh Holtrop 2011-05-17 13:17:41 -04:00
parent 60b7747997
commit 2257c664d6

View File

@ -1,28 +0,0 @@
#include <GL/gl.h>
#include <iostream>
#include "WFObj.hh"
using namespace std;
GLuint loadTexture(const char * texture)
{
cout << "got texture request: '" << texture << "'" << endl;
return 33;
}
int main(int argc, char * argv[])
{
WFObj w;
if (argc < 2)
{
cout << "Usage: " << argv[0] << " <filename>" << endl;
return -2;
}
if (!w.load(argv[1], &loadTexture))
{
cout << "Couldn't open '" << argv[1] << "'!" << endl;
return -1;
}
w.render();
return 0;
}