c++ - How to use OpenGL 3.0 on MacOS with Intel HD 3000 -
i'm trying set opengl 3.0 on xcode, i'm mac os x 10.9.2 , latest xcode updates installed. configured project xcode, headers files contains gl3.h. when do
cout<<glgetstring(gl_version)<<endl; i
2.1 intel-8.18.28 is there way specify opengl 3.0? checked , intel hd 3000 have support ogl 3.0.
note: i`m using glfw , added:
glfwwindowhint(glfw_context_version_major, 3); glfwwindowhint(glfw_context_version_minor, 0); but get
nsgl: targeted version of os x not support opengl 3.0 or 3.1
solved with:
glfwwindowhint(glfw_context_version_major, 3); glfwwindowhint(glfw_context_version_minor, 3); glfwwindowhint(glfw_opengl_profile, glfw_opengl_core_profile); glfwwindowhint(glfw_opengl_forward_compat, gl_true);
Comments
Post a Comment