commit 2c0fe3b9e3d3e5d7a7605914d02a5401f223fccc
parent 555ce172296bac928ff4d5d936f04efae954b7b5
Author: amin <dev@aminmesbah.com>
Date: Sun, 21 Jul 2019 02:23:47 +0000
Get OpenGL 3.3 contexts once more
FossilOrigin-Name: b0e8fa03cbf5b4066ec5882231d3d582a69ceea31e44fbdab180828ab8196a20
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/platform_linux.c b/src/platform_linux.c
@@ -30,8 +30,8 @@ int main(void)
return -1;
}
- glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4);
- glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2);
+ glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
+ glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
glfwWindowHint(GLFW_RESIZABLE, GLFW_TRUE);
diff --git a/src/platform_windows.c b/src/platform_windows.c
@@ -31,8 +31,8 @@ int main(void)
return -1;
}
- glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 4);
- glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 2);
+ glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
+ glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE);
glfwWindowHint(GLFW_RESIZABLE, GLFW_TRUE);