VertexLoaderJit: Fix out-of-bounds access for zfreeze.

This fixes a GCC6.1 warning.
This commit is contained in:
degasus
2016-05-07 09:35:40 +02:00
parent 22b5d89bf1
commit 258f48572d
6 changed files with 13 additions and 11 deletions

View File

@ -42,7 +42,7 @@ void UpdateVertexArrayPointers();
// Position cache for zfreeze (3 vertices, 4 floats each to allow SIMD overwrite).
// These arrays are in reverse order.
extern float position_cache[3][4];
extern u32 position_matrix_index[3];
extern u32 position_matrix_index[4];
// VB_HAS_X. Bitmask telling what vertex components are present.
extern u32 g_current_components;