From 9c99cee38effd341889267c8cda6c964af561aa1 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Wed, 29 Apr 2009 15:00:41 +0200 Subject: Fixed openGL being disabled from time to time. --- src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 62b9ba33..d35fa985 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -200,6 +200,7 @@ struct Options printVersion(false), skipUpdate(false), chooseDefault(false), + noOpenGL(false), serverPort(0) {} @@ -207,6 +208,7 @@ struct Options bool printVersion; bool skipUpdate; bool chooseDefault; + bool noOpenGL; std::string username; std::string password; std::string character; @@ -217,7 +219,6 @@ struct Options std::string serverName; short serverPort; - bool noOpenGL; }; /** @@ -372,7 +373,7 @@ static void initConfiguration(const Options &options) if (configPath.empty()) configPath = homeDir + "/config.xml"; - + configFile = fopen(configPath.c_str(), "r"); // If we can't read it, it doesn't exist ! -- cgit v1.2.3-70-g09d2