When I run draw_state example with 1.25x scale factor (which is my monitor default), the output of draw_state.rs example is like the image below. The code tells the logo to be scissored with 100x100 width and height, but actually it's scissored with 75x75:
The output of the example with 1x scale factor (running WINIT_X11_SCALE_FACTOR=1 cargo run --example draw_state) is like the image below. I think this is correctly scissored, and the result of 1.25x should be like this output image enlarged by 1.25x.
When I run
draw_state
example with 1.25x scale factor (which is my monitor default), the output ofdraw_state.rs
example is like the image below. The code tells the logo to be scissored with 100x100 width and height, but actually it's scissored with 75x75:The output of the example with 1x scale factor (running
WINIT_X11_SCALE_FACTOR=1 cargo run --example draw_state
) is like the image below. I think this is correctly scissored, and the result of 1.25x should be like this output image enlarged by 1.25x.