Add some window hints

This commit is contained in:
Dane Johnson 2021-01-17 12:41:14 -06:00
parent 95ccf7af6b
commit e243a666f1

View File

@ -48,6 +48,8 @@ int main() {
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
glfwWindowHint(GLFW_FLOATING, GLFW_TRUE);
glfwWindowHintString(GLFW_X11_CLASS_NAME, "Couch");
window = glfwCreateWindow(width, height, "Couch", NULL, NULL); window = glfwCreateWindow(width, height, "Couch", NULL, NULL);