mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
Multiple monitors window fullscreen fix
This commit is contained in:
parent
868ec6ee2e
commit
79a9513e4c
2 changed files with 19 additions and 14 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue