private void checkTarget ( ) { if ( target == null ) { try { load ( ) ; LoadingList . get ( ) . remove ( this ) ; return ; } catch ( IOException e ) { throw new RuntimeException ( "Attempt to use deferred texture before loading and resource not found: " + resourceName ) ; } } }
Check if the target has been obtained already