diff options
| author | Scott Mansell <phiren@gmail.com> | 2015-01-24 03:15:09 +1300 |
|---|---|---|
| committer | Scott Mansell <phiren@gmail.com> | 2015-01-24 03:22:27 +1300 |
| commit | 5510c86b8133ec734ba490b700d4f432d98f71a7 (patch) | |
| tree | 0bbcf23d7f32a301b0e1a8f0a4aadc90ecf77910 /Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp | |
| parent | daf760b20245c2e397a98da94e80c15be9090657 (diff) | |
Move Zfreeze code out individual backends into videoCommon
Also:
* Implement support for per-vertex PosMatrixIndex
* Only update zslope constant once when zfreeze is activated.
* Added a bunch of comments.
Diffstat (limited to 'Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp b/Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp index a0762578e1..abd9c569b2 100644 --- a/Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp +++ b/Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp @@ -59,7 +59,7 @@ DXGI_FORMAT VarToD3D(VarType t, int size, bool integer) void D3DVertexFormat::Initialize(const PortableVertexDeclaration &_vtx_decl) { - vertex_stride = _vtx_decl.stride; + vtx_decl = _vtx_decl; memset(m_elems, 0, sizeof(m_elems)); const AttributeFormat* format = &_vtx_decl.position; |
