Fixing crash in fullscreen.
This commit is contained in:
parent
5a1ab063b7
commit
a56907a956
@ -125,7 +125,6 @@ bool createWindow()
|
||||
glfwWindowHint(GLFW_GREEN_BITS, mode->greenBits);
|
||||
glfwWindowHint(GLFW_BLUE_BITS, mode->blueBits);
|
||||
glfwWindowHint(GLFW_REFRESH_RATE, mode->refreshRate);
|
||||
app.getGraphics()->resize(glm::uvec2(mode->width, mode->height));
|
||||
window = glfwCreateWindow(mode->width, mode->height, "Saxum", glfwGetPrimaryMonitor(), NULL);
|
||||
|
||||
if (!window) {
|
||||
|
Loading…
Reference in New Issue
Block a user