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:
parent
31ca955c06
commit
df17c64d28
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user