protocols/core: round dnd drop surface box
This commit is contained in:
parent
ff50dc36e9
commit
83a0a62004
1 changed files with 1 additions and 1 deletions
|
|
@ -818,7 +818,7 @@ void CWLDataDeviceProtocol::renderDND(PHLMONITOR pMonitor, const Time::steady_tp
|
|||
|
||||
surfacePos += m_dnd.dndSurface->m_current.offset;
|
||||
|
||||
CBox box = CBox{surfacePos, m_dnd.dndSurface->m_current.size}.translate(-pMonitor->m_position).scale(pMonitor->m_scale);
|
||||
CBox box = CBox{surfacePos, m_dnd.dndSurface->m_current.size}.translate(-pMonitor->m_position).scale(pMonitor->m_scale).round();
|
||||
|
||||
CTexPassElement::SRenderData data;
|
||||
data.tex = m_dnd.dndSurface->m_current.texture;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue