eliminate some old win32 timer code; use LLD in clang builds; eliminate unnecessary Clang architecture flags; eliminate /MP from builds, since mostly unnecessary

This commit is contained in:
Ryan Fleury
2024-01-19 10:37:27 -08:00
parent f7897aecea
commit 25ef507201
4 changed files with 3 additions and 15 deletions
-1
View File
@@ -152,7 +152,6 @@ internal void os_set_cursor(OS_Cursor cursor);
internal F32 os_double_click_time(void);
internal F32 os_caret_blink_time(void);
internal F32 os_default_refresh_rate(void);
internal B32 os_granular_sleep_enabled(void);
////////////////////////////////
//~ rjf: @os_hooks Native Messages & Panics (Implemented Per-OS)
-10
View File
@@ -14,7 +14,6 @@ global Arena * w32_event_arena = 0;
global HCURSOR w32_hcursor = 0;
global B32 w32_resizing = 0;
global F32 w32_default_refresh_rate = 60.f;
global B32 w32_granular_sleep_enabled = 0;
////////////////////////////////
//~ allen: Windows SDK Inconsistency Fixer
@@ -585,9 +584,6 @@ os_graphical_init(void)
}
}
//- rjf: try to enable granular sleep
w32_granular_sleep_enabled = (timeBeginPeriod(1) == TIMERR_NOERROR);
//- rjf: set initial cursor
os_set_cursor(OS_Cursor_Pointer);
}
@@ -1081,12 +1077,6 @@ os_default_refresh_rate(void)
return w32_default_refresh_rate;
}
internal B32
os_granular_sleep_enabled(void)
{
return w32_granular_sleep_enabled;
}
////////////////////////////////
//~ rjf: @os_hooks Native Messages & Panics (Implemented Per-OS)
-1
View File
@@ -6,7 +6,6 @@
#pragma comment(lib, "user32")
#pragma comment(lib, "gdi32")
#pragma comment(lib, "winmm")
////////////////////////////////
//~ rjf: Windows