1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 04:40:03 -04:00

make pixels_per_point optional in RawInput (default 1)

This commit is contained in:
Emil Ernerfeldt
2020-05-20 21:19:42 +02:00
parent 3022231e4f
commit 896d87c804
3 changed files with 5 additions and 6 deletions

View File

@@ -72,7 +72,7 @@ fn main() {
let (width, height) = display.get_framebuffer_dimensions();
vec2(width as f32, height as f32) / pixels_per_point
},
pixels_per_point,
pixels_per_point: Some(pixels_per_point),
..Default::default()
};