From 2b368d960f7bfe6cf2aba06d0a76bbe486960ffe Mon Sep 17 00:00:00 2001 From: Stefano Musumeci Date: Sat, 9 Aug 2014 14:39:05 +0200 Subject: [PATCH] TINYGL: Fixed a mistake in while -> loop refactoring. --- graphics/tinygl/zdirtyrect.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/graphics/tinygl/zdirtyrect.cpp b/graphics/tinygl/zdirtyrect.cpp index 9745991d489..13910f5158a 100644 --- a/graphics/tinygl/zdirtyrect.cpp +++ b/graphics/tinygl/zdirtyrect.cpp @@ -380,7 +380,6 @@ void RasterizationDrawCall::execute(bool restoreState) const { for (int i = 0; i < 2; i++) { c->vertex[i] = c->vertex[i + 2]; } - n -= 2; } break; case TGL_POLYGON: {