I am trying to create a multithreaded (multiple windows) program using OpenGL 2.1 (with shaders). I do not want to use Glut because it is too high level and does not allow me control of events for multiple windows.
My difficulty is that when I created a project with OpenGL and XWindows - it worked fine with the OpenGL 1.2 calls, but when I tried to use the 2.1 OpenGL extensions, it failed.
For example, when I used the glCreateProgram method for creating a shader program, my app compiled fine and even linked fine - but at run time the method returned a 0 rather than a program handle.
Does anyone have any experience with using OpenGL 2.1 with XWindows?
Thanks
My difficulty is that when I created a project with OpenGL and XWindows - it worked fine with the OpenGL 1.2 calls, but when I tried to use the 2.1 OpenGL extensions, it failed.
For example, when I used the glCreateProgram method for creating a shader program, my app compiled fine and even linked fine - but at run time the method returned a 0 rather than a program handle.
Does anyone have any experience with using OpenGL 2.1 with XWindows?
Thanks