Skip to content

Commit

Permalink
Remove default -force-opengl on Windows.
Browse files Browse the repository at this point in the history
Can cause issues such as KSP-CKAN#630.
  • Loading branch information
RichardLake committed Dec 19, 2014
1 parent 47d20b4 commit 5de2ab4
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions CKAN/GUI/Configuration.cs
Expand Up @@ -21,9 +21,12 @@ public static Configuration LoadOrCreateConfiguration(string path, string defaul
{
if (!File.Exists(path))
{
var configuration = new Configuration {Repository = defaultRepo, m_Path = path};

configuration.CommandLineArguments = Util.IsLinux ? "./KSP.x86_64" : "KSP.exe -force-opengl";
var configuration = new Configuration
{
Repository = defaultRepo,
m_Path = path,
CommandLineArguments = Util.IsLinux ? "./KSP.x86_64" : "KSP.exe"
};

SaveConfiguration(configuration, path);
}
Expand Down

0 comments on commit 5de2ab4

Please sign in to comment.