Fixing crash in fullscreen.

This commit is contained in:
Faerbit 2015-05-16 12:05:37 +02:00
parent 5a1ab063b7
commit a56907a956

View File

@ -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) {