Fix debugger compilation
TBR=bsalomon@google.com Review URL: https://codereview.chromium.org/1205933002
This commit is contained in:
parent
724ae2823e
commit
52d4deb128
@ -62,8 +62,9 @@ void SkGLWidget::createRenderTarget() {
|
|||||||
desc.fOrigin = kBottomLeft_GrSurfaceOrigin;
|
desc.fOrigin = kBottomLeft_GrSurfaceOrigin;
|
||||||
SkAutoTUnref<GrRenderTarget> curRenderTarget(
|
SkAutoTUnref<GrRenderTarget> curRenderTarget(
|
||||||
fCurContext->textureProvider()->wrapBackendRenderTarget(desc));
|
fCurContext->textureProvider()->wrapBackendRenderTarget(desc));
|
||||||
SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType);
|
SkSurfaceProps props(0, kUnknown_SkPixelGeometry);
|
||||||
fGpuDevice.reset(SkGpuDevice::Create(curRenderTarget, &props));
|
fGpuDevice.reset(SkGpuDevice::Create(curRenderTarget, &props,
|
||||||
|
SkGpuDevice::kUninit_InitContents));
|
||||||
fCanvas.reset(new SkCanvas(fGpuDevice));
|
fCanvas.reset(new SkCanvas(fGpuDevice));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user