if (DisplaySystem.getDisplaySystem() == null || DisplaySystem.getDisplaySystem().getRenderer() == null) return;
    public static void doTextureCleanup() {        TextureState ts = DisplaySystem.getDisplaySystem().getRenderer().createTextureState();        for (Integer i : cleanupStore) {            if (i != null) {                try {                    ts.deleteTextureId(i.intValue());                } catch (Exception e) {} // ignore.            }        }    }