How to use nvidia for opengl?

i am new to opengl programming. i want to learn the latest version of opengl ie opengl 4.3. my laptop has both nvidia and intel graphics card. i updated my nvidia drivers to support opengl 4.3 but intel drivers still support only opengl 3.0. i am using windows 07.
how do i use opengl 4.3 with the supported nvidia driver. how to setup this environment on visual studio 2010?

You have to select the nVidia card in the laptop settings; then OpenGL will only see that driver - you cannot do it inside your program

Correction - you actually can.

The document at includes information on the NvOptimusEnablement global variable which you can set in your program to force it to use the NV GPU. A secondary method is to statically link to certain libraries - again, covered by the document.

Thanks mhagain for that - it has been a problem for me for ages

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.