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:
parent
e490420efc
commit
13ac3a3dda
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user