Documentation of SFML 2.6.2
Loading...
Searching...
No Matches
Go to the documentation of this file.
25#ifndef SFML_GPUPREFERENCE_HPP
26#define SFML_GPUPREFERENCE_HPP
32#include <SFML/Config.hpp>
61#if defined(SFML_SYSTEM_WINDOWS)
63 #define SFML_DEFINE_DISCRETE_GPU_PREFERENCE \
64 extern "C" __declspec(dllexport) unsigned long NvOptimusEnablement = 1; \
65 extern "C" __declspec(dllexport) unsigned long AmdPowerXpressRequestHighPerformance = 1;
69 #define SFML_DEFINE_DISCRETE_GPU_PREFERENCE