Browse Source

Better resolution

Josh Engebretson 9 years ago
parent
commit
10cd29c86a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      FeatureExamples/CPlusPlus/Source/FeatureExamples.cpp

+ 2 - 0
FeatureExamples/CPlusPlus/Source/FeatureExamples.cpp

@@ -56,6 +56,8 @@ void FeatureExamples::Setup()
 {
 {
     // Modify engine startup parameters
     // Modify engine startup parameters
     engineParameters_["WindowTitle"] = GetTypeName();
     engineParameters_["WindowTitle"] = GetTypeName();
+    engineParameters_["WindowWidth"] = 1280;
+    engineParameters_["WindowHeight"] = 720;
     engineParameters_["LogName"]     = GetSubsystem<FileSystem>()->GetAppPreferencesDir("atomic", "logs") + GetTypeName() + ".log";
     engineParameters_["LogName"]     = GetSubsystem<FileSystem>()->GetAppPreferencesDir("atomic", "logs") + GetTypeName() + ".log";
     engineParameters_["FullScreen"]  = false;
     engineParameters_["FullScreen"]  = false;
     engineParameters_["Headless"]    = false;
     engineParameters_["Headless"]    = false;