mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
Convert vertex loader position cache to std::array
This commit is contained in:
parent
f722bdf7f1
commit
97d0ff58c8
6 changed files with 16 additions and 13 deletions
|
@ -558,7 +558,7 @@ void VertexManagerBase::CalculateZSlope(NativeVertexFormat* format)
|
|||
{
|
||||
// If this vertex format has per-vertex position matrix IDs, look it up.
|
||||
if (vert_decl.posmtx.enable)
|
||||
mtxIdx = VertexLoaderManager::position_matrix_index[3 - i];
|
||||
mtxIdx = VertexLoaderManager::position_matrix_index_cache[3 - i];
|
||||
|
||||
if (vert_decl.position.components == 2)
|
||||
VertexLoaderManager::position_cache[2 - i][2] = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue