Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb850e39 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update RenderEngine to use GrGLMakeNativeInterface instead of...

Merge "Update RenderEngine to use GrGLMakeNativeInterface instead of deprecated GrGLCreateNativeInterface. The only difference is the former returns a sk_sp instead of a bare pointer."
parents 42f27af8 40de6bad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -330,7 +330,7 @@ SkiaGLRenderEngine::SkiaGLRenderEngine(const RenderEngineCreationArgs& args, EGL
        mProtectedPlaceholderSurface(protectedPlaceholder),
        mDefaultPixelFormat(static_cast<PixelFormat>(args.pixelFormat)),
        mUseColorManagement(args.useColorManagement) {
    sk_sp<const GrGLInterface> glInterface(GrGLCreateNativeInterface());
    sk_sp<const GrGLInterface> glInterface = GrGLMakeNativeInterface();
    LOG_ALWAYS_FATAL_IF(!glInterface.get());

    GrContextOptions options;