diff options
Diffstat (limited to 'src/gpu/gl/GrGLGpu.cpp')
-rw-r--r-- | src/gpu/gl/GrGLGpu.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp index 3a3b833a8f..07aaaae26b 100644 --- a/src/gpu/gl/GrGLGpu.cpp +++ b/src/gpu/gl/GrGLGpu.cpp @@ -157,8 +157,7 @@ bool GrGLGpu::BlendCoeffReferencesConstant(GrBlendCoeff coeff) { /////////////////////////////////////////////////////////////////////////////// -GrGpu* GrGLGpu::Create(GrBackendContext backendContext, const GrContextOptions& options, - GrContext* context) { +GrGpu* GrGLGpu::Create(GrBackendContext backendContext, GrContext* context) { SkAutoTUnref<const GrGLInterface> glInterface( reinterpret_cast<const GrGLInterface*>(backendContext)); if (!glInterface) { @@ -169,7 +168,7 @@ GrGpu* GrGLGpu::Create(GrBackendContext backendContext, const GrContextOptions& if (!glInterface) { return NULL; } - GrGLContext* glContext = GrGLContext::Create(glInterface, options); + GrGLContext* glContext = GrGLContext::Create(glInterface); if (glContext) { return SkNEW_ARGS(GrGLGpu, (glContext, context)); } @@ -1437,7 +1436,7 @@ bool GrGLGpu::flushGLState(const DrawArgs& args) { fCurrentProgram.reset(fProgramCache->getProgram(args)); if (NULL == fCurrentProgram.get()) { - GrCapsDebugf(this->caps(), "Failed to create program!\n"); + GrContextDebugf(this->getContext(), "Failed to create program!\n"); return false; } |