Removed old platform specific asset folder code that should no longer be relevant with xmake.
@@ -56,13 +56,6 @@ void common_update();
void common_shutdown();
void ruler_window();
-#if defined(_WIN32)
-const char* assets_folder = "Assets";
-#else
-// Assume running on Linux from repository root
-const char* assets_folder = "Examples/Assets";
-#endif
-
pose_t log_pose = pose_t{vec3{0, -0.1f, 0.5f}, quat_lookat(vec3_zero, vec3_forward)};
std::list<std::string> log_list;
@@ -96,7 +89,7 @@ int __stdcall wWinMain(void*, void*, wchar_t*, int) {
sk_settings_t settings = {};
settings.app_name = "StereoKit C";
- settings.assets_folder = assets_folder;
+ settings.assets_folder = "Assets";
settings.display_preference = display_mode_mixedreality;
if (!sk_init(settings))
return 1;
