18 glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API);
19 glfwWindowHint(GLFW_RESIZABLE, GLFW_TRUE);
21 if (mApp.GetScreenSettings().isFullScreen)
23 const GLFWvidmode* mode = glfwGetVideoMode(glfwGetPrimaryMonitor());
24 mFullScreenRes.width = mode->width;
25 mFullScreenRes.height = mode->height;
26 mWindow = glfwCreateWindow(mode->width,
28 mApp.GetScreenSettings().name.c_str(),
29 glfwGetPrimaryMonitor(),
nullptr);
33 mWindow = glfwCreateWindow(mApp.GetScreenSettings().width,
34 mApp.GetScreenSettings().height,
35 mApp.GetScreenSettings().name.c_str(),
39 glfwSetWindowUserPointer(mWindow,
this);