public static void releaseGraphicsForImage ( Image image ) throws SlickException { Graphics g = ( Graphics ) graphics . remove ( image . getTexture ( ) ) ; if ( g != null ) { g . destroy ( ) ; } }
Release any graphics context that is assocaited with the given image