mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
bump legacy ogl to 2.1
This commit is contained in:
@@ -777,11 +777,12 @@ eu07_application::init_glfw() {
|
||||
}
|
||||
Global.gfx_shadergamma = false;
|
||||
glfwWindowHint( GLFW_OPENGL_PROFILE, GLFW_OPENGL_ANY_PROFILE );
|
||||
glfwWindowHint( GLFW_CONTEXT_VERSION_MINOR, 0 );
|
||||
#ifndef EU07_USEIMGUIIMPLOPENGL2
|
||||
glfwWindowHint( GLFW_CONTEXT_VERSION_MAJOR, 3 );
|
||||
glfwWindowHint( GLFW_CONTEXT_VERSION_MINOR, 0 );
|
||||
#else
|
||||
glfwWindowHint( GLFW_CONTEXT_VERSION_MAJOR, 2 );
|
||||
glfwWindowHint( GLFW_CONTEXT_VERSION_MINOR, 1 );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user