Просмотр исходного кода

Added post process test on xCode

Sean Paul Taylor 13 лет назад
Родитель
Сommit
02aa7c031c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      gameplay/src/Font.cpp

+ 1 - 1
gameplay/src/Font.cpp

@@ -490,7 +490,7 @@ void Font::drawText(const char* text, int x, int y, const Vector4& color, unsign
 
         GP_ASSERT(_glyphs);
         GP_ASSERT(_batch);
-        for (size_t i = startIndex; i < length && i >= 0; i += (size_t)iteration)
+        for (size_t i = startIndex; i < length; i += (size_t)iteration)
         {
             char c = 0;
             if (rightToLeft)