mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-25 23:44:35 +00:00
Fix apfel check.
This commit is contained in:
parent
462d8103aa
commit
ee3d5a94a7
@ -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_MAJOR, 3 );
|
||||||
glfwWindowHint( GLFW_CONTEXT_VERSION_MINOR, 2 );
|
glfwWindowHint( GLFW_CONTEXT_VERSION_MINOR, 2 );
|
||||||
glfwWindowHint( GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE );
|
glfwWindowHint( GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE );
|
||||||
#if __APPLE__
|
#ifdef __APPLE__
|
||||||
glfwWindowHint( GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE );
|
glfwWindowHint( GLFW_OPENGL_FORWARD_COMPAT, GL_TRUE );
|
||||||
#endif
|
#endif
|
||||||
s_window = glfwCreateWindow( m_winPos.w, m_winPos.h, title, NULL, NULL );
|
s_window = glfwCreateWindow( m_winPos.w, m_winPos.h, title, NULL, NULL );
|
||||||
|
Loading…
Reference in New Issue
Block a user