Fix build break in assert
git-svn-id: http://skia.googlecode.com/svn/trunk@11771 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
6b7938f9cb
commit
8aaac8da36
@ -438,7 +438,7 @@ GrTexture* GrContext::lockAndRefScratchTexture(const GrTextureDesc& inDesc, Scra
|
||||
!(inDesc.fFlags & kNoStencil_GrTextureFlagBit));
|
||||
|
||||
// Renderable A8 targets are not universally supported (e.g., not on ANGLE)
|
||||
SkASSERT(this->isConfigRenderable(kAlpha_8_GrPixelConfig) ||
|
||||
SkASSERT(this->isConfigRenderable(kAlpha_8_GrPixelConfig, inDesc.fSampleCnt > 0) ||
|
||||
!(inDesc.fFlags & kRenderTarget_GrTextureFlagBit) ||
|
||||
(inDesc.fConfig != kAlpha_8_GrPixelConfig));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user