mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-27 18:00:12 +00:00
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:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
|
||||
#pragma comment(lib, "user32")
|
||||
#pragma comment(lib, "gdi32")
|
||||
#pragma comment(lib, "winmm")
|
||||
|
||||
////////////////////////////////
|
||||
//~ rjf: Windows
|
||||
|
||||
Reference in New Issue
Block a user