Fix incorrect sample cnt assert

git-svn-id: http://skia.googlecode.com/svn/trunk@7112 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bsalomon@google.com 2013-01-09 23:29:39 +00:00
parent e490420efc
commit 13ac3a3dda

View File

@ -862,7 +862,7 @@ bool GrGpuGL::createRenderTargetObjects(int width, int height,
// below here we may bind the FBO
fHWBoundRenderTarget = NULL;
if (desc->fRTFBOID != desc->fTexFBOID) {
GrAssert(desc->fSampleCnt > 1);
GrAssert(desc->fSampleCnt > 0);
GL_CALL(BindRenderbuffer(GR_GL_RENDERBUFFER,
desc->fMSColorRenderbufferID));
if (!renderbuffer_storage_msaa(fGLContextInfo,