From 5c34406060b82fc4e18522ef51754effb095d1f7 Mon Sep 17 00:00:00 2001 From: bjorn Date: Sun, 15 Jul 2018 00:01:23 -0700 Subject: [PATCH] Use glfw constants instead of opengl constants for window hints; --- src/graphics/graphics.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphics/graphics.c b/src/graphics/graphics.c index f35d941f..4a935ea4 100644 --- a/src/graphics/graphics.c +++ b/src/graphics/graphics.c @@ -88,9 +88,9 @@ void lovrGraphicsCreateWindow(int w, int h, bool fullscreen, int msaa, const cha glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3); glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); - glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE); + glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GLFW_TRUE); glfwWindowHint(GLFW_SAMPLES, msaa); - glfwWindowHint(GLFW_RESIZABLE, GL_FALSE); + glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE); glfwWindowHint(GLFW_SRGB_CAPABLE, state.gammaCorrect); #else glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_ES_API);