Skip to content

AnnotationViewport: Scale image section down based on window device pixel ratio

Noah Davis requested to merge work/ndavis/even-better-viewport-scaling into master

Scale the copied image section down based on the window device pixel ratio before setting as the texture. This should make the viewer window look a bit nicer with mixed DPI and marginally improve performance for systems with weak GPUs.

Merge request reports