Added basic OpenGL texture functionality