Remove assert to allow Android bots (that don't support NPOT textures) to continue in Debug mode

https://codereview.appspot.com/6820094/



git-svn-id: http://skia.googlecode.com/svn/trunk@6303 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
robertphillips@google.com 2012-11-05 21:00:26 +00:00
parent 31ca955c06
commit df17c64d28

View File

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