Maximize window by default
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/client/renderingengine.cpp b/src/client/renderingengine.cpp | |
index a58b0efe6..1aebaa4e0 100644 | |
--- a/src/client/renderingengine.cpp | |
+++ b/src/client/renderingengine.cpp | |
@@ -146,6 +146,7 @@ RenderingEngine::RenderingEngine(IEventReceiver *receiver) | |
auto skin = createSkin(m_device->getGUIEnvironment(), | |
gui::EGST_WINDOWS_METALLIC, driver); | |
m_device->getGUIEnvironment()->setSkin(skin); | |
+ m_device->maximizeWindow(); | |
skin->drop(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment