GL_VERTEX_PROGRAM_TWO_SIDED_ARB isn't used in the GL3 driver.

--HG--
branch : gsoc2013-dfighter
hg/feature/gsoc2013-dfighter
dfighter1985 11 years ago
parent 7b5aaf7e0f
commit 9d3e3a6a73

@ -1264,7 +1264,8 @@ private:
void setConstant (uint index, uint num, const double *src){}
void setConstantMatrix (uint index, IDriver::TMatrix matrix, IDriver::TTransform transform){}
void setConstantFog (uint index){}
void enableVertexProgramDoubleSidedColor(bool doubleSided);
void enableVertexProgramDoubleSidedColor(bool doubleSided){}
bool supportVertexProgramDoubleSidedColor() const{ return true; };
virtual bool supportMADOperator() const ;

@ -36,18 +36,6 @@ namespace NL3D {
namespace NLDRIVERGL3 {
#endif
void CDriverGL3::enableVertexProgramDoubleSidedColor(bool doubleSided)
{
H_AUTO_OGL(CDriverGL3_enableVertexProgramDoubleSidedColor);
// change mode (not cached because supposed to be rare)
if(doubleSided)
glEnable (GL_VERTEX_PROGRAM_TWO_SIDE_ARB);
else
glDisable (GL_VERTEX_PROGRAM_TWO_SIDE_ARB);
}
#ifdef NL_STATIC
} // NLDRIVERGL/ES
#endif

Loading…
Cancel
Save