Make renderer pointer const in load_asset_to_manager

This commit is contained in:
abdelrahman committed 2023-08-06 22:11:56 +01:00
1 parent e0d4e5b431
commit 475cd59e45
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ AssetManager *create_asset_manager();
* Returns the AssetID on success or an INVALID_ID in the case of failure.
*/
AssetID load_asset_to_manager(AssetManager *am, const char *path,
AssetType type, Renderer *renderer);
AssetType type, const Renderer *renderer);
/**
* Removes an asset from the manager using its ID.