Reputation: 607
I have purchased a graphics card which supports OpenGL 4.2. But I want to develop an application which should support OpenGL 2.0
Does my card will support OpenGL 2.0 apps(Backward compatibility)?? Then how to ensure backwards-compatibility
I have planned to use GLUT/GLFW C++ libraries.
Upvotes: 9
Views: 4937
Reputation: 10105
https://developer.nvidia.com/opengl-driver - please read about compatibility and that no 'old' functionality will be removed from the drivers.
In general you can create your application in two modes:
glutInitContextFlags (GLUT_CORE_PROFILE);
and glutInitContextVersion (4, 2);
to use core opengl 4.2glutInitContextFlags (GLUT_COMPATIBILITY_PROFILE );
Upvotes: 7
Reputation: 21
Your graphic card will have the backward compatibility with OpenGl 2.0 app. You do not need to do anything special
Upvotes: 2