From 13ac3a3ddaa5144ae2ac5984cccb0c8383ba8c8c Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Wed, 9 Jan 2013 23:29:39 +0000 Subject: Fix incorrect sample cnt assert git-svn-id: http://skia.googlecode.com/svn/trunk@7112 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/gl/GrGpuGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp index 6e39637c02..bb727e2880 100644 --- a/src/gpu/gl/GrGpuGL.cpp +++ b/src/gpu/gl/GrGpuGL.cpp @@ -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, -- cgit v1.2.3