Multiple monitors window fullscreen fix

This commit is contained in:
MihailRis
2023-11-26 21:51:42 +03:00
parent 868ec6ee2e
commit 79a9513e4c
2 changed files with 19 additions and 14 deletions
+3
View File
@@ -22,6 +22,8 @@ class Window {
static bool tryToMaximize(GLFWwindow* window, GLFWmonitor* monitor);
public:
static int posX;
static int posY;
static uint width;
static uint height;
static int initialize(DisplaySettings& settings);
@@ -35,6 +37,7 @@ public:
static void swapInterval(int interval);
static void toggleFullscreen();
static bool isFullscreen();
static bool isMaximized();
static void pushScissor(glm::vec4 area);
static void popScissor();