From e0707272e83b8c022fe7cb9af0a4c2b70f56be2d Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Fri, 6 Jan 2017 10:25:56 -0500 Subject: [PATCH] Get Debugger app compiling again Change-Id: I307088b2cf4fc1404313f280975ac39105f70ac0 Reviewed-on: https://skia-review.googlesource.com/6604 Reviewed-by: Florin Malita Commit-Queue: Robert Phillips --- debugger/QT/SkGLWidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/debugger/QT/SkGLWidget.cpp b/debugger/QT/SkGLWidget.cpp index f95af84..a60ae0f 100644 --- a/debugger/QT/SkGLWidget.cpp +++ b/debugger/QT/SkGLWidget.cpp @@ -83,10 +83,10 @@ GrBackendRenderTargetDesc SkGLWidget::getDesc(int w, int h) { desc.fWidth = SkScalarRoundToInt(this->width()); desc.fHeight = SkScalarRoundToInt(this->height()); desc.fConfig = kSkia8888_GrPixelConfig; - GR_GL_GetIntegerv(fCurIntf, GR_GL_SAMPLES, &desc.fSampleCnt); - GR_GL_GetIntegerv(fCurIntf, GR_GL_STENCIL_BITS, &desc.fStencilBits); + GR_GL_GetIntegerv(fCurIntf.get(), GR_GL_SAMPLES, &desc.fSampleCnt); + GR_GL_GetIntegerv(fCurIntf.get(), GR_GL_STENCIL_BITS, &desc.fStencilBits); GrGLint buffer; - GR_GL_GetIntegerv(fCurIntf, GR_GL_FRAMEBUFFER_BINDING, &buffer); + GR_GL_GetIntegerv(fCurIntf.get(), GR_GL_FRAMEBUFFER_BINDING, &buffer); desc.fRenderTargetHandle = buffer; return desc; -- 2.7.4