fixed the compile error on windows after the ARB glCalls were renamed.
Now use GLState to make the call, as the QOpenGLFunctions header undefs glActiveTexture.
Fixing the include order and separating gl calls from qt calls may also work here, but not be applicable as this is a template
Edited by Martin Schultz