Try a different linux fix.

This commit is contained in:
hiker 2015-05-17 10:04:01 +10:00
parent f0f230b042
commit a50d11df36

View File

@ -142,7 +142,7 @@ public:
template<typename...Args>
void assignSamplerNames(Args...args)
{
glUseProgram(m_program);
use();
assignTextureNamesImpl<0>(args...);
glUseProgram(0);
} // AssignSamplerNames