Browse Source

Change default resolution to 1024x720.

tags/v2.0.4
Andrew Belt 2 years ago
parent
commit
2bf0f5676b
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/settings.cpp
  2. +1
    -1
      src/window/Window.cpp

+ 1
- 1
src/settings.cpp View File

@@ -21,7 +21,7 @@ bool isPlugin = false;

std::string token;
bool windowMaximized = false;
math::Vec windowSize = math::Vec(1280, 720);
math::Vec windowSize = math::Vec(1024, 720);
math::Vec windowPos = math::Vec(NAN, NAN);
bool invertZoom = false;
float pixelRatio = 0.0;


+ 1
- 1
src/window/Window.cpp View File

@@ -271,7 +271,7 @@ Window::Window() {
#endif

// Create window
win = glfwCreateWindow(1280, 720, "", NULL, NULL);
win = glfwCreateWindow(1024, 720, "", NULL, NULL);
if (!win) {
osdialog_message(OSDIALOG_ERROR, OSDIALOG_OK, "Could not open GLFW window. Does your graphics card support OpenGL 2.0 or greater? If so, make sure you have the latest graphics drivers installed.");
throw Exception("Could not create Window");


Loading…
Cancel
Save