diff --git a/src/renderer_mtl.h b/src/renderer_mtl.h index 3ce8d86b5b..e22875a5f9 100644 --- a/src/renderer_mtl.h +++ b/src/renderer_mtl.h @@ -1162,7 +1162,7 @@ namespace bgfx { namespace mtl uint64_t m_elapsed; uint64_t m_frequency; - Result m_result[4*2]; + Result m_result[BGFX_CONFIG_MAX_VIEWS+1]; bx::RingBufferControl m_control; };