Fixed export directive for Optimus workaround.

This commit is contained in:
Camilla Berglund
2014-12-11 13:31:08 +01:00
parent e1ae9af5a0
commit 0c44a6be7f
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -41,7 +41,7 @@
// Applications exporting this symbol with this value will be automatically
// directed to the high-performance GPU on nVidia Optimus systems
//
GLFWAPI DWORD NvOptimusEnablement = 0x00000001;
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
#endif // _GLFW_USE_OPTIMUS_HPG