Backed out changeset d5cd910dda69 (bug 1033098) for OSX assertions.

This commit is contained in:
Ryan VanderMeulen 2014-09-03 14:18:24 -04:00
parent a1d330022e
commit bf444cfddf

View File

@ -37,10 +37,8 @@ GLBlitTextureImageHelper::BlitTextureImage(TextureImage *aSrc, const nsIntRect&
{
NS_ASSERTION(!aSrc->InUpdate(), "Source texture is in update!");
NS_ASSERTION(!aDst->InUpdate(), "Destination texture is in update!");
NS_ASSERTION(!aSrc, "Source image is null");
NS_ASSERTION(!aDst, "Destination image is null");
if (!aSrc || !aDst || aSrcRect.IsEmpty() || aDstRect.IsEmpty())
if (aSrcRect.IsEmpty() || aDstRect.IsEmpty())
return;
int savedFb = 0;