Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/osg/DisplaySettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@
#include <algorithm>
#include <string.h>

using namespace osg;
using namespace std;

#if defined(_WIN32) && !defined(__CYGWIN__)
#include<windows.h>
extern "C" { OSG_EXPORT DWORD NvOptimusEnablement=0x00000001; }
#else
extern "C" { int NvOptimusEnablement=0x00000001; }
#endif

using namespace osg;
using namespace std;

void DisplaySettings::setNvOptimusEnablement(int value)
{
NvOptimusEnablement = value;
Expand Down
1 change: 0 additions & 1 deletion src/osgPlugins/cfg/ConfigParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@
#include "CameraConfig.h"


using namespace std;
using namespace osgProducer;

static void ConfigParser_error( const char * );
Expand Down
1 change: 0 additions & 1 deletion src/osgPlugins/cfg/ConfigParser.y
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
#include <Producer/CameraConfig>


using namespace std;
using namespace Producer;

static void ConfigParser_error( const char * );
Expand Down