aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ddd55d1a4..08e8c1ee2 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1447,8 +1447,10 @@ int main(int argc, char *argv[])
device = createDeviceEx(params);
- if (device == 0)
+ if (device == 0) {
return 1; // could not create selected driver.
+ }
+ porting::initIrrlicht(device);
/*
Continue initialization