2
0
Эх сурвалжийг харах

OcclusionBuffer.cpp: fix warning

1vanK 3 жил өмнө
parent
commit
8754e4c5cc

+ 2 - 2
Source/Urho3D/Graphics/OcclusionBuffer.cpp

@@ -270,7 +270,7 @@ void OcclusionBuffer::BuildDepthHierarchy()
     }
     }
 
 
     // Build the rest of the mip levels
     // Build the rest of the mip levels
-    for (unsigned i = 1; i < mipBuffers_.Size(); ++i)
+    for (i32 i = 1; i < mipBuffers_.Size(); ++i)
     {
     {
         int prevWidth = width;
         int prevWidth = width;
         int prevHeight = height;
         int prevHeight = height;
@@ -1000,7 +1000,7 @@ void OcclusionBuffer::MergeBuffers()
 {
 {
     URHO3D_PROFILE(MergeBuffers);
     URHO3D_PROFILE(MergeBuffers);
 
 
-    for (unsigned i = 1; i < buffers_.Size(); ++i)
+    for (i32 i = 1; i < buffers_.Size(); ++i)
     {
     {
         if (!buffers_[i].used_)
         if (!buffers_[i].used_)
             continue;
             continue;