Branimir Karadžić 11 年 前
コミット
17b2559e35
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/renderer_d3d11.cpp

+ 2 - 2
src/renderer_d3d11.cpp

@@ -1581,7 +1581,7 @@ namespace bgfx
 		{
 			_constantBuffer.reset();
 
-			do
+			for (;;)
 			{
 				uint32_t opcode = _constantBuffer.read();
 
@@ -1661,7 +1661,7 @@ namespace bgfx
 
 #undef CASE_IMPLEMENT_UNIFORM
 
-			} while (true);
+			}
 		}
 
 		void clearQuad(ClearQuad& _clearQuad, const Rect& _rect, const Clear& _clear, uint32_t _height = 0)