Remove assert to allow Android bots (that don't support NPOT textures) to continue...
authorrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 5 Nov 2012 21:00:26 +0000 (21:00 +0000)
committerrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 5 Nov 2012 21:00:26 +0000 (21:00 +0000)
https://codereview.appspot.com/6820094/

git-svn-id: http://skia.googlecode.com/svn/trunk@6303 2bbb7eff-a529-9590-31e7-b0007b416f81

src/gpu/GrContext.cpp

index ceb37cd..1292b51 100644 (file)
@@ -284,7 +284,6 @@ GrTexture* GrContext::createResizedTexture(const GrTextureDesc& desc,
     if (NULL == clampedTexture) {
         clampedTexture = this->createTexture(NULL, desc, cacheData, srcData, rowBytes);
 
-        GrAssert(NULL != clampedTexture);
         if (NULL == clampedTexture) {
             return NULL;
         }