Skip to content

Set window size of pgl to exact image size.

liqimai requested to merge liqimai/flatland:liqimai-master-patch-14145 into master

Window size of pgl was fixed before, irrelavent to the rendered PIL image size, and thus lead to distortion. What is more, resizing PIL image to fit window size relies on interpolation, which leads to poor rendering quality. Here we let the window size to be same as the rendered PIL image size to avoid distortion and resizing.

Merge request reports