Skip to content
Snippets Groups Projects
Commit ec0d5d93 authored by Vadim Savchuk's avatar Vadim Savchuk
Browse files

Fixed Linux build.

--HG--
branch : product-engine
parent e0abec00
No related branches found
No related tags found
No related merge requests found
...@@ -1412,7 +1412,7 @@ void LLPanelClassifiedInfo::stretchSnapshot() ...@@ -1412,7 +1412,7 @@ void LLPanelClassifiedInfo::stretchSnapshot()
t_width *= ratio; t_width *= ratio;
t_height *= ratio; t_height *= ratio;
rc.setCenterAndSize(rc.getCenterX(), rc.getCenterY(), t_width, t_height); rc.setCenterAndSize(rc.getCenterX(), rc.getCenterY(), llfloor(t_width), llfloor(t_height));
texture_ctrl->setRect(rc); texture_ctrl->setRect(rc);
mSnapshotStreched = true; mSnapshotStreched = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment