diff options
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/asset_packer.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/asset_packer.cc b/tools/asset_packer.cc index 72592ae..4aaa0e7 100644 --- a/tools/asset_packer.cc +++ b/tools/asset_packer.cc @@ -230,9 +230,11 @@ int main(int argc, char* argv[]) { } // Validate GPU procedural function name - if (info.proc_func_name != "gen_noise") { + if (info.proc_func_name != "gen_noise" && + info.proc_func_name != "gen_perlin" && + info.proc_func_name != "gen_grid") { fprintf(stderr, - "Error: PROC_GPU only supports gen_noise, got: %s for asset: %s\n", + "Error: PROC_GPU only supports gen_noise, gen_perlin, gen_grid, got: %s for asset: %s\n", info.proc_func_name.c_str(), info.name.c_str()); return 1; } |
