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:
parent
c6013c721e
commit
4945e03bcb
@ -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; }
|
||||
|
@ -253,7 +253,7 @@ public:
|
||||
typedef std::map< int, osg::Array*, std::less<int> > ArrayMap;
|
||||
|
||||
typedef std::multimap< osgAnimation::Target*, osg::ref_ptr<ChannelPart> > TargetChannelPartMap;
|
||||
typedef std::multimap<std::pair<const domMesh*, unsigned>, std::pair<osg::ref_ptr<osg::Geometry>, GLuint> > OldToNewIndexMap;
|
||||
typedef std::multimap<std::pair<const domMesh*, size_t>, std::pair<osg::ref_ptr<osg::Geometry>, GLuint> > OldToNewIndexMap;
|
||||
|
||||
private:
|
||||
bool processDocument( const std::string& );
|
||||
|
Loading…
Reference in New Issue
Block a user