Backout d6c58a2a6da4 (bug 1012407) for various bustages on a CLOSED TREE

This commit is contained in:
Nathan Froyd 2014-05-23 23:36:28 -04:00
Родитель a31a0e4ff3
Коммит 3087f2eca6
1 изменённых файлов: 0 добавлений и 8 удалений

Просмотреть файл

@ -384,14 +384,6 @@ DecomposeIntoNoRepeatRects(const Rect& aRect,
{
Rect texCoordRect = aTexCoordRect;
// We want to normalize here instead of clamp because the rects we were
// given assume GL_REPEAT, which we explicitly won't use and instead
// manually split into sub-rects.
while (texCoordRect.x >= 1.0f)
texCoordRect.x -= 1.0f;
while (texCoordRect.y >= 1.0f)
texCoordRect.y -= 1.0f;
// If the texture should be flipped, it will have negative height. Detect that
// here and compensate for it. We will flip each rect as we emit it.
bool flipped = false;