Device pixels per window coordinate unit (2 on a Retina display).
#import "Window_Creation";
window := create_window(800, 600, "simp");
scale := get_pixel_scale(window); // 2 on a Retina displayThis one is only checked to compile, not run.
get_pixel_scale :: (window: Window_Type) -> float
Parameters
- window: Window_Type
Returns
- float