demos: Add basic DPI handling.
Compare changes
Files
4+ 17
− 0
@@ -31,6 +31,8 @@ struct demo
@@ -48,6 +50,11 @@ struct demo_swapchain
@@ -191,6 +198,11 @@ static inline void demo_process_events(struct demo *demo)
@@ -215,6 +227,11 @@ static inline bool demo_init(struct demo *demo, void *user_data)