hello_cube project now has its own asset bundle and runs without arguments

This commit is contained in:
2021-08-10 00:49:34 -07:00
parent 831cf2d1c5
commit 7965da421c
3 changed files with 22 additions and 11 deletions

View File

@@ -38,7 +38,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine
KrLoadResourceInfo load_resource_info = {};
load_resource_info.sType = KR_STRUCTURE_TYPE_LOAD_RESOURCE;
load_resource_info.resourceHandle = 1;
load_resource_info.pResourcePath = lpCmdLine; // "kraken_standard_assets.krbundle";
load_resource_info.pResourcePath = "kraken_cube.krbundle";
res = KrLoadResource(&load_resource_info);
if (res != KR_SUCCESS) {
//printf("Failed to load resource: %s\n", arg);