aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorsapier <Sapier at GMX dot net>2014-04-05 14:12:36 +0200
committersapier <Sapier at GMX dot net>2014-04-27 21:53:13 +0200
commit1838a3fd696782b1733a435bbb25accf3e40d1f3 (patch)
tree9edee41b26d5307b1d2e4626e65bb372a3d8cab7 /src/main.cpp
parent8d315347100f1d261bb496b6c73f8cab5d2b7a41 (diff)
downloadminetest-1838a3fd696782b1733a435bbb25accf3e40d1f3.tar.gz
minetest-1838a3fd696782b1733a435bbb25accf3e40d1f3.tar.bz2
minetest-1838a3fd696782b1733a435bbb25accf3e40d1f3.zip
Add support for dpi based HUD scaling
Add support for (configurable) multiline hotbar Improved screensize handling Add userdefined gui scale by BlockMen
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