Explorar el Código

Added post process test on xCode

Sean Paul Taylor hace 13 años
padre
commit
02aa7c031c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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(_glyphs);
         GP_ASSERT(_batch);
         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;
             char c = 0;
             if (rightToLeft)
             if (rightToLeft)