Daniele Bartolini 9 年之前
父节点
当前提交
62bc733c4f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/world/render_world.cpp

+ 1 - 1
src/world/render_world.cpp

@@ -347,7 +347,7 @@ void RenderWorld::render(const Matrix4x4& view, const Matrix4x4& projection)
 		{
 		{
 			const f32* frame = sprite_resource::frame_data(sid.resource[i], sid.frame[i]);
 			const f32* frame = sprite_resource::frame_data(sid.resource[i], sid.frame[i]);
 
 
-			for (u32 i = 0; i < 16; ++i)
+			for (u32 vi = 0; vi < 16; ++vi)
 				*vdata++ = *frame++;
 				*vdata++ = *frame++;
 
 
 			*idata++ = i*4+0;
 			*idata++ = i*4+0;