Removed null pointers.

Textures don't work.
VBO and VAO textures are working.
Found the problem.