aboutsummaryrefslogtreecommitdiffhomepage
path: root/debugger/QT/SkGLWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debugger/QT/SkGLWidget.cpp')
-rw-r--r--debugger/QT/SkGLWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/debugger/QT/SkGLWidget.cpp b/debugger/QT/SkGLWidget.cpp
index a60ae0f0ba..0c65be03b5 100644
--- a/debugger/QT/SkGLWidget.cpp
+++ b/debugger/QT/SkGLWidget.cpp
@@ -42,7 +42,7 @@ void SkGLWidget::initializeGL() {
fGpuSurface = nullptr;
fCanvas = nullptr;
- fCurContext.reset(GrContext::Create(kOpenGL_GrBackend, (GrBackendContext) fCurIntf.get()));
+ fCurContext = GrContext::MakeGL(fCurIntf.get());
}
void SkGLWidget::createRenderTarget() {