Fix lighting example viewport
@@ -232,8 +232,7 @@ fn main() {
}
},
);
- panel_width =
- (gui_context.used_size().x * gui_context.pixels_per_point()) as u32;
+ panel_width = gui_context.used_size().x as u32;
})
.unwrap();
