mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-09-24 02:00:05 +00:00
wire non graphical raddbg build target
This commit is contained in:
committed by
Ryan Fleury
parent
b6bc8d89b0
commit
b60f5ec7cb
@@ -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
|
||||
|
||||
@@ -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_(¶ms);
|
||||
#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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user