paint: cleanup
This commit is contained in:
@@ -33,6 +33,6 @@ void util_texture_capture_output(gpu_texture_t *img, char *basename, bool bgra)
|
||||
packed_asset_t *pa = GC_ALLOC_INIT(packed_asset_t, {.name = abs, .bytes = bytes});
|
||||
any_array_push(g_project->packed_assets, pa);
|
||||
gpu_texture_t *copy = gpu_create_texture_from_encoded_bytes(bytes, ".png");
|
||||
any_map_set(data_cached_images, abs, copy);
|
||||
any_map_set(data_cached_textures, abs, copy);
|
||||
import_texture_run(abs, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user