diff options
| author | Jason Maskell <[email protected]> | 2016-05-19 14:56:31 +0200 |
|---|---|---|
| committer | Jason Maskell <[email protected]> | 2016-05-19 14:56:31 +0200 |
| commit | f7023576ff2f5be202e9c8536d38daeb966fa975 (patch) | |
| tree | e0df3dd4bfbab02626785d618f1147f78e803ec2 /test | |
| parent | D3D11 test is compiling and running with a rendering error (ocean is grey and... (diff) | |
| download | waveworks_archive-f7023576ff2f5be202e9c8536d38daeb966fa975.tar.xz waveworks_archive-f7023576ff2f5be202e9c8536d38daeb966fa975.zip | |
Lots more conversion work done, not quite compiling yet. Paranoia commit.
Diffstat (limited to 'test')
| -rw-r--r-- | test/d3d11/ocean_cufft_app.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/d3d11/ocean_cufft_app.cpp b/test/d3d11/ocean_cufft_app.cpp index 29ca4be..63dd697 100644 --- a/test/d3d11/ocean_cufft_app.cpp +++ b/test/d3d11/ocean_cufft_app.cpp @@ -1468,8 +1468,7 @@ void RenderSkybox(ID3D11DeviceContext* pDC) far_plane_quad[2] = XMFLOAT4(g_FarPlane, g_FarPlane, g_FarPlane * 0.999f, g_FarPlane); far_plane_quad[3] = XMFLOAT4(g_FarPlane, -g_FarPlane, g_FarPlane * 0.999f, g_FarPlane); - //NOTE: Need Determinant! - XMMATRIX matInvVP = XMMatrixInverse(&DirectX::XMVectorSet(0, 0, 0, 0), matVP); + XMMATRIX matInvVP = XMMatrixInverse(NULL, matVP); XMVector4TransformStream(&far_plane_quad[0], sizeof(XMFLOAT4), &far_plane_quad[0], sizeof(XMFLOAT4), 4, matInvVP); pDC->Unmap(g_pSkyBoxVB, 0); |