From 945bbe1456cb703be2a8c2f2f8ee6624e0d69ad9 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Fri, 15 Jun 2012 14:30:34 +0000 Subject: [PATCH] Suppress annoying printf in GM when MSAA is not supported. git-svn-id: http://skia.googlecode.com/svn/trunk@4265 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/gpu/gl/GrGpuGL.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp index 77d8758..6549e05 100644 --- a/src/gpu/gl/GrGpuGL.cpp +++ b/src/gpu/gl/GrGpuGL.cpp @@ -1038,7 +1038,8 @@ GrTexture* GrGpuGL::onCreateTexture(const GrTextureDesc& desc, glRTDesc.fSampleCnt = desc.fSampleCnt; if (GrGLCaps::kNone_MSFBOType == this->glCaps().msFBOType() && desc.fSampleCnt) { - GrPrintf("MSAA RT requested but not supported on this platform."); + //GrPrintf("MSAA RT requested but not supported on this platform."); + return return_null_texture(); } if (renderTarget) { -- 2.7.4