Moved glLinkProgram to be at the end of genAttriblist (Potetial AMD

NVIDIA fix)