Correct path for assets

This commit is contained in:
Gadgeteer 2023-07-16 18:14:36 +01:00
parent 1a25a70019
commit af6869a0d3
12 changed files with 23726 additions and 6342 deletions

View file

@ -1617,7 +1617,7 @@ dispatch_group_t concurrentGroup;
@end
const std::string getAssetPath() {
return [NSBundle.mainBundle.resourcePath stringByAppendingString: @"/../../data/"].UTF8String;
return [NSBundle.mainBundle.resourcePath stringByAppendingString: @"/../../assets/"].UTF8String;
}
const std::string getShaderBasePath() { return [NSBundle.mainBundle.resourcePath stringByAppendingString: @"/../../shaders/"].UTF8String; }