Reverse order of templates in glwrapp.hpp

This commit is contained in:
Vincent Lejeune 2014-03-26 21:18:36 +01:00
parent f49dfbc51f
commit 14500d65ab

View File

@ -102,6 +102,12 @@ void loadAndAttach(GLint ProgramID, GLint ShaderType, const char *filepath, Type
loadAndAttach(ProgramID, args...);
}
template<typename ...Types>
void printFileList()
{
return;
}
template<typename ...Types>
void printFileList(GLint ShaderType, const char *filepath, Types ... args)
{
@ -109,12 +115,6 @@ void printFileList(GLint ShaderType, const char *filepath, Types ... args)
printFileList(args...);
}
template<typename ...Types>
void printFileList()
{
return;
}
template<typename ... Types>
GLint LoadProgram(Types ... args)
{