16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 00:59:18 +02:00

macos tweaks

This commit is contained in:
milek7
2021-01-19 19:03:42 +01:00
parent 5fcd108b3d
commit 809f0c2077
3 changed files with 25 additions and 9 deletions

View File

@@ -143,7 +143,9 @@ eu07_application::init( int Argc, char *Argv[] ) {
if( ( result = init_data() ) != 0 ) {
return result;
}
m_taskqueue.init();
if( Global.python_enabled ) {
m_taskqueue.init();
}
if( ( result = init_modes() ) != 0 ) {
return result;
}
@@ -735,6 +737,7 @@ eu07_application::init_glfw() {
// activate core profile for opengl 3.3 renderer
if( !Global.gfx_usegles ) {
glfwWindowHint( GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE );
glfwWindowHint( GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE );
glfwWindowHint( GLFW_CONTEXT_VERSION_MAJOR, 3 );
glfwWindowHint( GLFW_CONTEXT_VERSION_MINOR, 3 );
}