ui
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#pragma comment(lib, "user32.lib")
|
||||
#pragma comment(lib, "winmm.lib")
|
||||
|
||||
fn void app_init(void);
|
||||
fn void app_init(f32 dpr);
|
||||
fn b32 app_update(app_frame_t *frame);
|
||||
|
||||
gb b32 w32_good_scheduling;
|
||||
@@ -355,7 +355,7 @@ int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int n
|
||||
refresh_rate = (f64)devmodew.dmDisplayFrequency;
|
||||
}
|
||||
|
||||
app_init();
|
||||
app_init(w32_get_dpr(w32_window_handle));
|
||||
|
||||
f64 time_frame_start = w32_seconds_now();
|
||||
f64 time_delta = 1.0 / refresh_rate;
|
||||
|
||||
Reference in New Issue
Block a user