Fix compilation by moving Graphics exports to a new file
This commit is contained in:
parent
36b423bf1c
commit
0eec1618fe
|
@ -36,9 +36,6 @@
|
|||
|
||||
#define _XBOXKRNL_DEFEXTRN_
|
||||
|
||||
// Default to High Performance Mode on machines with dual graphics
|
||||
extern "C" {
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1; // AMD
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001; // NVIDIA
}
|
||||
|
||||
/* prevent name collisions */
|
||||
namespace xboxkrnl
|
||||
{
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#include <Windows.h>
|
||||
|
||||
// Default to High Performance Mode on machines with dual graphics
|
||||
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1; // AMD
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001; // NVIDIA
|
Loading…
Reference in New Issue