diff --git a/azure-c.cpp b/azure-c.cpp index ee3ad5f..5a20e0e 100644 --- a/azure-c.cpp +++ b/azure-c.cpp @@ -236,7 +236,6 @@ extern "C" AzDrawTargetRef AzCreateSkiaDrawTargetForFBO(AzSkiaSharedGLContextRef aGLContext, AzIntSize *aSize, AzSurfaceFormat aFormat) { SkNativeSharedGLContext *sharedGLContext = static_cast(aGLContext); GrContext *grContext = sharedGLContext->getGrContext(); - grContext->AddRef(); gfx::IntSize *size = reinterpret_cast(aSize); gfx::SurfaceFormat surfaceFormat = static_cast(aFormat); RefPtr target = gfx::Factory::CreateSkiaDrawTargetForFBO(sharedGLContext->getFBOID(),