mirror of
https://github.com/gopher64/gopher64.git
synced 2026-09-06 20:55:27 +02:00
add gpu hints on windows (#1158)
This commit is contained in:
@@ -10,6 +10,13 @@
|
||||
#include <cmath>
|
||||
#include <map>
|
||||
|
||||
#ifdef _WIN32
|
||||
extern "C" {
|
||||
__declspec(dllexport) unsigned long NvOptimusEnablement = 0x00000001;
|
||||
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
using namespace Vulkan;
|
||||
|
||||
#define DP_STATUS_XBUS_DMA 0x01
|
||||
|
||||
Reference in New Issue
Block a user