Use more std::span arguments

This commit is contained in:
Sintendo
2026-02-01 09:20:46 +01:00
parent c05b231015
commit f6a67aa6e7
79 changed files with 164 additions and 146 deletions

View File

@@ -161,7 +161,7 @@ bool VertexShaderManager::UseVertexDepthRange()
// Syncs the shader constant buffers with xfmem
// TODO: A cleaner way to control the matrices without making a mess in the parameters field
void VertexShaderManager::SetConstants(const std::vector<std::string>& textures,
void VertexShaderManager::SetConstants(std::span<const std::string> textures,
XFStateManager& xf_state_manager)
{
if (constants.missing_color_hex != g_ActiveConfig.iMissingColorValue)