mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 08:13:35 +00:00
Bug 1097464 - Part 1 - Remove Z value from 3D transforms for D3D9. r=roc,matt.woodrow
This commit is contained in:
parent
68663347da
commit
a4c2346c7e
@ -692,6 +692,7 @@ CompositorD3D9::PrepareViewport(const gfx::IntSize& aSize)
|
||||
viewMatrix._22 = -2.0f / aSize.height;
|
||||
viewMatrix._41 = -1.0f;
|
||||
viewMatrix._42 = 1.0f;
|
||||
viewMatrix._33 = 0.0f;
|
||||
|
||||
HRESULT hr = device()->SetVertexShaderConstantF(CBmProjection, &viewMatrix._11, 4);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user