commit 1b0b3c87b211bf9c1f5f7262f8bb280feb18be5f
parent 1db4c4cfb547beacfa0dcf5481e277b6ac7eefcd
Author: amin <dev@aminmesbah.com>
Date: Sat, 15 Jun 2019 03:41:10 +0000
Use GLFW_FALSE in glfw function call
FossilOrigin-Name: e4bcd488c5f43f041aa2ce7da129f6b5eca904168a6acaca18609d405ccab955
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/platform_emscripten.c b/src/platform_emscripten.c
@@ -29,7 +29,7 @@ int main(void)
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
- glfwWindowHint(GLFW_RESIZABLE, GL_FALSE);
+ glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE);
GLFWwindow* window = glfwCreateWindow(PLATFORM_SCR_WIDTH, PLATFORM_SCR_HEIGHT, "Quaternion Demo", NULL, NULL);
if (!window)
diff --git a/src/platform_linux.c b/src/platform_linux.c
@@ -42,7 +42,7 @@ int main(void)
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
- glfwWindowHint(GLFW_RESIZABLE, GL_TRUE);
+ glfwWindowHint(GLFW_RESIZABLE, GLFW_TRUE);
glfwWindowHint(GLFW_SAMPLES, 4);
GLFWwindow* window = glfwCreateWindow(PLATFORM_SCR_WIDTH, PLATFORM_SCR_HEIGHT, "Quaternion Demo", NULL, NULL);