wire non graphical raddbg build target

This commit is contained in:
Nikita Smith
2026-06-02 12:09:53 -07:00
committed by Ryan Fleury
parent b6bc8d89b0
commit b60f5ec7cb
5 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ r_tex2d_release(R_Handle texture)
r_hook R_ResourceKind
r_kind_from_tex2d(R_Handle texture)
{
return R_ResourceStatic;
return R_ResourceKind_Static;
}
r_hook Vec2S32
+2 -2
View File
@@ -278,9 +278,9 @@ t_raddbg_path(void)
ArenaParams params = { .reserve_size = sizeof(buffer), .commit_size = sizeof(buffer), .optional_backing_buffer = buffer };
Arena *arena = arena_alloc_(&params);
#if OS_WINDOWS
path = os_full_path_from_path(arena, str8_lit("raddbg.exe"));
path = os_full_path_from_path(arena, str8_lit("raddbg_non_graphical.exe"));
#else
path = os_full_path_from_path(arena, str8_lit("raddbg"));
path = os_full_path_from_path(arena, str8_lit("raddbg_non_graphical"));
#endif
AssertAlways(path.size);
}
+3
View File
@@ -13,6 +13,9 @@ internal WM_SystemInfo *
wm_get_system_info(void)
{
local_persist WM_SystemInfo g = {0};
#if defined(WM_STUB_DEFAULT_REFRESH_RATE)
g.default_refresh_rate = WM_STUB_DEFAULT_REFRESH_RATE;
#endif
return &g;
}