Template specialization was failing because OpenGL function type have __stdcall convention on Windows/32bits