Use attrib location rather than hard-coded location.
OpenGL Texturing.