Skip to content

Commit

Permalink
Fixed print preview (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
scharlton2 authored Mar 22, 2022
1 parent 48c6f72 commit f62ea18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ModelViewer/MvView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ void CMvView::OnDraw(CDC *pDC)
int DPI = m_RenderWindow->GetDPI();

m_RenderWindow->SetupMemoryRendering(rcDest.right / scale,
rcDest.top / scale, pDC->m_hAttribDC);
rcDest.top / scale, pDC->GetSafeHdc());

m_RenderWindow->Render();

Expand Down

0 comments on commit f62ea18

Please sign in to comment.