I have coded a OpenGL program with c++ MFC, but the render speed is unbearablely slow.. I finally founded that the problem is because the program running using the Integrated Graphics, and it runs very smooth and perfect after I forced to set the program running using Graphics Card in NVIDIA panel....
Can I change the default graphics the program using to Graphics Card in code level or VC project level? And how to do it?
Development Environment: 64bit Win7, Visual Studio 2010, C++, MFC, OpenGL Hardware: i7-2670QM, NVIDA GeForce GT 540M with 2G dedicate memory