Commit fb7e0e24 authored by Andy Nichols's avatar Andy Nichols Committed by The Qt Project
Browse files

eglfs: Fix bug determining physical screen size


In the situation that the screenSize EGLFS hook had been defined, but
not the physicalScreenSize, the uninitialized contents of
fb_var_screeninfo vinfo would be used to calculate the fall-back
physical screen size.  Since this value is undefined, devices like the
Raspberry Pi would end unable to render DPI dependent fonts.

Change-Id: Ic9f67c1c646cc7b328b695b76a84d78577fefcd8
Reviewed-by: default avatarPaul Olav Tvete <paul.tvete@digia.com>
parent 51a35f5c
Showing with 6 additions and 2 deletions
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