aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-06-15 14:30:34 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-06-15 14:30:34 +0000
commit945bbe1456cb703be2a8c2f2f8ee6624e0d69ad9 (patch)
tree53a456e9a4ee508ea7e5a714856573a6f8bf1f77 /src/gpu
parent5a121add5e7bb191148a4e07f5ad7a1c6773ec24 (diff)
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
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/gl/GrGpuGL.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp
index 77d875837b..6549e050f1 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) {