You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Win32 GDI integration of OpenGL doesn't offer means to explicitly select the desired device"
Maybe add #defines to glApp.h, worked for me to pre-select Nvidia RTX3070Ti over Iris Xe
#define _declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
#define _declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 0x00000001;
When the Nvidia and AMD drivers see their respective symbol exported and set to nonzero in a program, they will take precedence over the integrated GPU when creating the OpenGL context
The text was updated successfully, but these errors were encountered:
https://stackoverflow.com/questions/68469954/how-to-choose-specific-gpu-when-create-opengl-context
"Win32 GDI integration of OpenGL doesn't offer means to explicitly select the desired device"
Maybe add #defines to glApp.h, worked for me to pre-select Nvidia RTX3070Ti over Iris Xe
#define _declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
#define _declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 0x00000001;
When the Nvidia and AMD drivers see their respective symbol exported and set to nonzero in a program, they will take precedence over the integrated GPU when creating the OpenGL context
The text was updated successfully, but these errors were encountered: