You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file misc05_picking/misc05_picking_BulletPhysics.cpp the (line 99)
OPENGL_PROFILE is set with GLFW_OPENGL_COMPAT_PROFILE which later causes my
window to become NULL (Printing an inaccurate error message. Other tutorials
have it set to GLFW_OPENGL_CORE_PROFILE. When I changed it myself to the core
profile, the error went away.
96: glfwWindowHint(GLFW_SAMPLES, 4);
97: glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
98: glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
99: glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_COMPAT_PROFILE);
100:
101: // Open a window and create its OpenGL context
102: window = glfwCreateWindow( 1024, 768, "Misc 05 - Bullet version", NULL,
NULL);
103: if( window == NULL ){
104: fprintf( stderr, "Failed to open GLFW window. If you have an Intel
GPU, they are not 3.3 compatible. Try the 2.1 version of the tutorials.\n" );
So to fix: change line 99 to use GLFW_OPENGL_CORE_PROFILE.
My Information:
OS: Ubuntu 14.04 64-bit
Processor: Intel Pentium CPU G860 @ 3.00GHz x 2
Graphics: Gallium 0.4 on AMD CYPRESS
Original issue reported on code.google.com by [email protected] on 30 Oct 2014 at 6:40
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 30 Oct 2014 at 6:40The text was updated successfully, but these errors were encountered: