Commit 0c002994 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

cppcx: swapchain: Use the real pixel size

parent 544bb60c
......@@ -55,7 +55,8 @@ namespace libVLCX
m_dxManager.reset(new DirectXManager);
UpdateSize(m_chainPanel->ActualWidth, m_chainPanel->ActualHeight);
UpdateSize(m_chainPanel->ActualWidth * m_chainPanel->CompositionScaleX,
m_chainPanel->ActualHeight * m_chainPanel->CompositionScaleY);
char ptr_d3dstring[64];
sprintf_s(ptr_d3dstring, "--winrt-d3ddevice=0x%p", m_dxManager->cp_d3dDevice);
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