Skip to content

Commit 1cc98f1

Browse files
patrikjuvonenqaisjp
authored andcommitted
Fix compiler warning about signed/unsigned mismatch (#363)
1 parent a32179f commit 1cc98f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/core/Graphics/CPrimitiveMaterialBatcher.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ void CPrimitiveMaterialBatcher::Flush(void)
143143
// Cache last used material, so we don't set directx parameters needlessly
144144
CMaterialItem* pLastMaterial = nullptr;
145145

146-
for (int i = 0; i < m_primitiveList.size(); i++)
146+
for (uint i = 0; i < m_primitiveList.size(); i++)
147147
{
148148
sDrawQueuePrimitiveMaterial primitive = m_primitiveList[i];
149149
// uint PrimitiveCount = m_triangleList.size () / 3;

0 commit comments

Comments
 (0)