Kaydet (Commit) 5b42e32d authored tarafından Jan Holesovsky's avatar Jan Holesovsky

rendercontext: PushPaintHelper needs the buffer as param too.

Change-Id: I4e787356bd17fcaffdbe0dc51a549b359f416766
üst b0cd381d
...@@ -227,7 +227,7 @@ void PaintHelper::DoPaint(const vcl::Region* pRegion) ...@@ -227,7 +227,7 @@ void PaintHelper::DoPaint(const vcl::Region* pRegion)
m_pBuffer->mnOutOffX = m_pWindow->GetOutOffXPixel() - m_pBuffer->mnOutOffX; m_pBuffer->mnOutOffX = m_pWindow->GetOutOffXPixel() - m_pBuffer->mnOutOffX;
m_pBuffer->mnOutOffY = m_pWindow->GetOutOffYPixel() - m_pBuffer->mnOutOffY; m_pBuffer->mnOutOffY = m_pWindow->GetOutOffYPixel() - m_pBuffer->mnOutOffY;
m_pWindow->PushPaintHelper(this, *m_pWindow); m_pWindow->PushPaintHelper(this, *m_pBuffer.get());
m_pWindow->Paint(*m_pBuffer.get(), m_aPaintRect); m_pWindow->Paint(*m_pBuffer.get(), m_aPaintRect);
// restore the mnOutOffX/Y value // restore the mnOutOffX/Y value
......
Markdown is supported
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