create a Window on application startup

This commit is contained in:
josh committed 2016-07-01 19:32:09 -04:00
1 parent ecc2d3ce35
commit 35a2b99970
1 file changed
+11 -1
+11 -1
View File
@@ -1,6 +1,16 @@
#include <iostream>
#include "Window.h"
int main(int argc, char * argv[])
{
std::cout << "Coming soon." << std::endl;
Window w;
if (!w.create())
{
std::cerr << "Error creating window." << std::endl;
return 1;
}
w.run_event_loop();
return 0;
}