change opengl texture loading to load SDL textures instead