Windows build error and warning fixes
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14626 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -24,6 +24,7 @@ using namespace osg;
|
||||
using namespace std;
|
||||
|
||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
||||
#include<Windows.h>
|
||||
extern "C" { _declspec(dllexport) DWORD NvOptimusEnablement=0x00000001; }
|
||||
#else
|
||||
extern "C" { int NvOptimusEnablement=0x00000001; }
|
||||
|
||||
Reference in New Issue
Block a user