Commit eef77257 authored by Morten Johan Sørvig's avatar Morten Johan Sørvig
Browse files

eglfs: Round value returned from pixelDensity()


Avoid returning fractional scale factors, which we
do not support. This matches the pixelDensity()
implementation for the Xcb and Windows platform plugins.

Change-Id: I79156e802a0a436b9344f12d35d1f4861e20e7fa
Reviewed-by: default avatarMitch Curtis <mitch.curtis@theqtcompany.com>
parent 8c89a8b1
No related merge requests found
Showing with 1 addition and 1 deletion
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment