VertexManagerBase: Resolve -Wsign-compare warning

This commit is contained in:
Lioncash 2023-12-11 18:00:34 -05:00
parent b48af86148
commit 49f44c1334

View File

@ -598,7 +598,7 @@ void VertexManagerBase::Flush()
std::optional<CustomPixelShader> custom_pixel_shader;
std::vector<std::string> custom_pixel_texture_names;
std::span<u8> custom_pixel_shader_uniforms;
for (int i = 0; i < texture_names.size(); i++)
for (size_t i = 0; i < texture_names.size(); i++)
{
const std::string& texture_name = texture_names[i];
const u32 texture_unit = texture_units[i];