src/main/java/com/spinyowl/legui/system/renderer/nvg/NvgImageReferenceManager.java
protected void removeOldImages(long context) {
    String path = imagesToRemove.poll();
    if (path == null) {
      return;
    }
    Integer imageRef = imageAssociationMap.remove(path);
    if (imageRef != null) {
      NanoVG.nvgDeleteImage(context, imageRef);
    }
  }
/**
   * Used to remove old images.
   *
   * @param context nanovg context.
   */
Used to remove old images.
@param context nanovg context.
Used to remove old images . @param context nanovg context .
protected void removeOldImages(long context) {
    String path = imagesToRemove.poll();
    if (path == null) {
      return;
    }
    Integer imageRef = imageAssociationMap.remove(path);
    if (imageRef != null) {
      NanoVG.nvgDeleteImage(context, imageRef);
    }
  }
protected void removeOldImages ( long context ) { String path = imagesToRemove . poll ( ) ; if ( path == null ) { return ; } Integer imageRef = imageAssociationMap . remove ( path ) ; if ( imageRef != null ) { NanoVG . nvgDeleteImage ( context , imageRef ) ; } }
Used to remove old images.
Used to remove old images .