Skip to content

Commit

Permalink
[client/main] Added missing header for Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Unarelith committed Jan 26, 2020
1 parent 8922f53 commit 2251bc0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
// Thanks to Hopson for pointing this out
#ifdef _WIN32
extern "C" {
#include <Windows.h>

// http://developer.download.nvidia.com/devzone/devcenter/gamegraphics/files/OptimusRenderingPolicies.pdf
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;

Expand Down

0 comments on commit 2251bc0

Please sign in to comment.