create a Window on application startup
This commit is contained in:
1 parent
ecc2d3ce35
commit
35a2b99970
1 file changed
+11
-1
+11
-1
@@ -1,6 +1,16 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
#include "Window.h"
|
||||||
|
|
||||||
int main(int argc, char * argv[])
|
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;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user