Renamed close_asset to unload_asset
This commit is contained in:
1 parent
fc94efcc46
commit
0339db22dd
2 files changed
+2
-2
No files matched your search
@@ -40,7 +40,7 @@ void remove_object(ObjectID *id);
|
|||||||
|
|
||||||
// ASSET MANAGEMENT API
|
// ASSET MANAGEMENT API
|
||||||
AssetID load_asset(const char *path, AssetType type);
|
AssetID load_asset(const char *path, AssetType type);
|
||||||
void close_asset(AssetID *id);
|
void unload_asset(AssetID *id);
|
||||||
// END ASSET MANAGEMENT API
|
// END ASSET MANAGEMENT API
|
||||||
|
|
||||||
// RENDERING API
|
// RENDERING API
|
||||||
|
|||||||
+1
-1
@@ -204,7 +204,7 @@ AssetID load_asset(const char *path, AssetType type) {
|
|||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void close_asset(AssetID *id) {
|
void unload_asset(AssetID *id) {
|
||||||
if (*id < 0) {
|
if (*id < 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user