GS SW: size_t to int implicit cast warning fixes

This commit is contained in:
Ty 2025-11-22 16:31:45 -05:00 committed by Ty
parent e2d3680038
commit 1174ae99c9
2 changed files with 2 additions and 2 deletions

View File

@ -1549,7 +1549,7 @@ void GSRasterizerList::Queue(const GSRingHeap::SharedPtr<GSRasterizerData>& data
pxAssert(r.top >= 0 && r.top < 2048 && r.bottom >= 0 && r.bottom < 2048);
int top = r.top >> m_thread_height;
int bottom = std::min<int>((r.bottom + (1 << m_thread_height) - 1) >> m_thread_height, top + m_workers.size());
int bottom = std::min<int>((r.bottom + (1 << m_thread_height) - 1) >> m_thread_height, top + (int)m_workers.size());
while (top < bottom)
{

View File

@ -1652,7 +1652,7 @@ void GSRendererSW::SharedData::UpdateSource()
std::string s;
for (size_t i = 0; m_tex[i].t; i++)
for (u32 i = 0; m_tex[i].t; i++)
{
const GIFRegTEX0& TEX0 = g_gs_renderer->GetTex0Layer(i);