Removed all old opengl stuff