Removed some useless GL code, removed on-the-fly texture compression support (it wasn't used and it's crappy regardless), changed some of the texture loading code to be more compatible with OpenGL ES