aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar borenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-11 20:39:09 +0000
committerGravatar borenet@google.com <borenet@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-11 20:39:09 +0000
commitdabdd9e71df4619db0260b9091c9bcc0d57b0a34 (patch)
tree687d51e80f82a620cbe9d00f5299c793ee88fb76 /include
parent9f5898d31b91500e09a70c7f70265a2d813b2534 (diff)
Revert r5491, r5495, r5497, and r5498.
Review URL: https://codereview.appspot.com/6499097 git-svn-id: http://skia.googlecode.com/svn/trunk@5501 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrContextFactory.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/gpu/GrContextFactory.h b/include/gpu/GrContextFactory.h
index 1942a60886..600bedae66 100644
--- a/include/gpu/GrContextFactory.h
+++ b/include/gpu/GrContextFactory.h
@@ -90,18 +90,15 @@ public:
}
static const int kBogusSize = 1;
if (!glCtx.get()) {
- SkDebugf("GrContextFactory.h: no context\n");
return NULL;
}
if (!glCtx.get()->init(kBogusSize, kBogusSize)) {
- SkDebugf("GrContextFactory.h: no init\n");
return NULL;
}
GrPlatform3DContext p3dctx =
reinterpret_cast<GrPlatform3DContext>(glCtx.get()->gl());
grCtx.reset(GrContext::Create(kOpenGL_Shaders_GrEngine, p3dctx));
if (!grCtx.get()) {
- SkDebugf("GrContextFactory.h: no gr context\n");
return NULL;
}
GPUContext& ctx = fContexts.push_back();