Commit 512367d5 authored by Mehdi BENHARRATS's avatar Mehdi BENHARRATS

Add fullscreen

parent d5d408a3
......@@ -9,8 +9,14 @@ GLFWwindow* create_window(const std::string& window_title)
{
const int opengl_version_major = 3;
const int opengl_version_minor = 3;
const GLFWvidmode* mode = glfwGetVideoMode(glfwGetPrimaryMonitor());
/*
const int window_width = 1280;
const int window_height = 1000;
*/
const int window_width = mode->width;
const int window_height = mode->height;
GLFWwindow* window = vcl::glfw_create_window(window_width, window_height, window_title, opengl_version_major, opengl_version_minor);
return window;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment