Fix linux compile

--HG--
branch : multipass-stereo
This commit is contained in:
kaetemi 2013-06-19 16:18:09 +02:00
parent dfb110b387
commit 9b0b1008ff

View file

@ -28,8 +28,8 @@
#include "stdopengl.h"
#include "driver_opengl.h"
#include <nel/3d/index_buffer.h>
#include <nel/3d/vertex_program.h>
#include "nel/3d/index_buffer.h"
#include "nel/3d/pixel_program.h"
#include <algorithm>
// tmp
@ -37,11 +37,17 @@
using namespace std;
using namespace NLMISC;
//#define DEBUG_SETUP_EXT_VERTEX_SHADER
namespace NL3D
{
#ifdef NL_STATIC
#ifdef USE_OPENGLES
namespace NLDRIVERGLES {
#else
namespace NLDRIVERGL {
#endif
#endif
// ***************************************************************************
CPixelProgamDrvInfosGL::CPixelProgamDrvInfosGL (CDriverGL *drv, ItPixelPrgDrvInfoPtrList it) : IPixelProgramDrvInfos (drv, it)
@ -316,4 +322,8 @@ void CDriverGL::setPixelProgramConstantMatrix (uint index, IDriver::TMatrix matr
}
}
#ifdef NL_STATIC
} // NLDRIVERGL/ES
#endif
} // NL3D