How to force OpenGL use discrete GPU

If your laptop or PC have more than one GPU then sometimes your OpenGL app can choose wrong card.

It is frequent situation on laptops where you have integrated card from Intel and some discrete from nVidia or AMD.

You can create profile for your app to run specific card, or you can force your app to use most powerful GPU, just add this code in some of your module:

You can read about nVidia here, and about AMD here

Ребята, без вашей помощи блогу не обойтись, sharing особенно в Google+ очень нужен! Пошарьте, если Вам понравилась статья.