summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbconnection.cpp
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2018-03-06 18:05:02 +0300
committerAlexander Volkov <a.volkov@rusbitech.ru>2018-03-09 10:45:26 +0000
commit9b7809a43ee0add8c11d3387b73a01bfdedd0043 (patch)
tree9d81e1d7d7d242b1e241c748b48f5faebd4b3a56 /src/plugins/platforms/xcb/qxcbconnection.cpp
parent4d204854745f6682d9937b8c13a429890e5bc738 (diff)
xcb: Fix FP1616 to int conversion
Divide the whole FP1616 value by 0x10000 instead of dividing the integer part by 0x10000 and the fractional part by 0xFFFF. It also makes fixed1616ToInt() consistent with fixed1616ToReal(), see 7d3f353a5bd573dc0e72f7f55c70212a6b3837fa. Change-Id: Id76025028c926872b002ef0a1ca8a8bdc2de3e1e Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbconnection.cpp')
0 files changed, 0 insertions, 0 deletions