Skip to content

Commit

Permalink
win10: fix uwp build
Browse files Browse the repository at this point in the history
  • Loading branch information
afedchin committed Oct 23, 2017
1 parent 4c82074 commit 9ddf9b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/vis_milkdrop/support.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,9 @@ void PrepareFor2DDrawing(DX11Context* pDevice)
DirectX::XMMATRIX Ortho2D = DirectX::XMMatrixOrthographicLH(2.0f, -2.0f, 0.0f, 1.0f);
DirectX::XMMATRIX Identity = DirectX::XMMatrixIdentity();

pDevice->SetTransform(D3DTS_PROJECTION, &Ortho2D);
pDevice->SetTransform(D3DTS_WORLD, &Identity);
pDevice->SetTransform(D3DTS_VIEW, &Identity);
pDevice->SetTransform(3 /*D3DTS_PROJECTION*/, &Ortho2D);
pDevice->SetTransform(256 /*D3DTS_WORLD*/, &Identity);
pDevice->SetTransform(2 /*D3DTS_VIEW*/, &Identity);
}
}

Expand Down
2 changes: 1 addition & 1 deletion lib/vis_milkdrop/utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ double GetPentiumTimeAsDouble(unsigned __int64 frequency)
sprintf(buf2, "%shwnd=%08x, msg=%s, w=%08x, l=%08x\n", szStartText, hwnd, buf, wParam, lParam);
else
sprintf(buf2, "%shwnd=%08x, msg=unknown/0x%08x, w=%08x, l=%08x\n", szStartText, hwnd, msg, wParam, lParam);
OutputDebugString(buf2);
OutputDebugStringA(buf2);
#endif
}
#endif
Expand Down

0 comments on commit 9ddf9b1

Please sign in to comment.