Fix apfel check.

This commit is contained in:
Bartosz Taudul 2022-12-09 18:59:01 +01:00
parent 462d8103aa
commit ee3d5a94a7
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -72,7 +72,7 @@ Backend::Backend( const char* title, std::function<void()> redraw, RunQueue* mai
glfwWindowHint( GLFW_CONTEXT_VERSION_MAJOR, 3 );
glfwWindowHint( GLFW_CONTEXT_VERSION_MINOR, 2 );
glfwWindowHint( GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE );
#if __APPLE__
#ifdef __APPLE__
glfwWindowHint( GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE );
#endif
s_window = glfwCreateWindow( m_winPos.w, m_winPos.h, title, NULL, NULL );