it segfaultsss

This commit is contained in:
Ben Kyd
2019-07-16 16:08:03 +01:00
parent 1400b59e21
commit ed42a92be8
11 changed files with 279 additions and 5 deletions

View File

@@ -5,10 +5,11 @@ int main(int argc, char** argv) {
InfernoEngine inferno;
inferno.SetMode(MODE_PROGRESSIVE_GUI);
bool status = inferno.InitWindow();
if (!status {
bool status = inferno.InitWindow(600, 600);
if (!status) {
std::cout << "Error initializing window: " << inferno.LastError() << std::endl;
}
inferno.Ready();
}