diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/GrContextFactory.h | 3 |
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(); |