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
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 @@
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) {