|
@@ -188,6 +188,7 @@ set_window_size :: proc(width: int, height: int) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// Fetch the scale of the window. This usually comes from some DPI scaling setting in the OS.
|
|
// Fetch the scale of the window. This usually comes from some DPI scaling setting in the OS.
|
|
|
|
|
+// 1 means 100% scale, 1.5 means 150% etc.
|
|
|
get_window_scale :: proc() -> f32 {
|
|
get_window_scale :: proc() -> f32 {
|
|
|
return win.get_window_scale()
|
|
return win.get_window_scale()
|
|
|
}
|
|
}
|