Try to fix travis build.

This commit is contained in:
Vincent Lejeune
2014-10-19 16:40:27 +02:00
parent b13e6931ce
commit 4ee0e24ff7

View File

@@ -57,7 +57,7 @@ GLint LoadProgram(AttributeType Tp, Types ... args)
{
GLint ProgramID = glCreateProgram();
loadAndAttach(ProgramID, args...);
if (irr_driver->getGLSLVersion() < 330)
if (getGLSLVersion() < 330)
setAttribute(Tp, ProgramID);
glLinkProgram(ProgramID);