Commit 37a9c508 authored by David Bommes's avatar David Bommes

MacOS does not require glut_init

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@16445 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 78ea0e6e
......@@ -88,7 +88,7 @@
// struct rusage resource_usage;
// if (getrusage(RUSAGE_SELF, &resource_usage))
// {
// //error - call to getrusage failed - handle it
// //error - call to getrusage failed - handle itf
// std::cerr << "Unable to get process information" << std::endl;
// }
// else
......@@ -373,7 +373,9 @@ int main(int argc, char **argv)
return -1;
}
#ifndef __APPLE__
glutInit(&argc,argv);
#endif
// create core ( this also reads the ini files )
Core * w = new Core( );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment