code: public static void leaveSafeBlock() 
  	{
  		if (!inSafe) {
  			return;
  		}
  
  		GL11.glMatrixMode(GL11.GL_PROJECTION);
  		GL11.glPopMatrix();
  		GL11.glMatrixMode(GL11.GL_MODELVIEW);
  		GL11.glPopMatrix();
  		GL11.glPopClientAttrib();
  		GL11.glPopAttrib();
  		
  		if (lastUsed != null) {
  			lastUsed.bind();
  		} else {
  			TextureImpl.bindNone();
  		}
  		
  		inSafe = false;
  	}
docs: Leave a safe block ensuring that all of Slick's OpenGL state is
  restored since the last enter.