removed unused variable for skia initialization (flutter/engine#56791)
fixes https://github.com/flutter/flutter/issues/159433 test exempt: no functional change, removes unused code [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
This commit is contained in:
parent
2aae286c8d
commit
5cc52a6055
@ -84,8 +84,6 @@ FLUTTER_ASSERT_ARC
|
||||
}
|
||||
|
||||
- (sk_sp<GrDirectContext>)createGrContext {
|
||||
const auto contextOptions =
|
||||
flutter::MakeDefaultContextOptions(flutter::ContextType::kRender, GrBackendApi::kMetal);
|
||||
id<MTLDevice> device = _device;
|
||||
id<MTLCommandQueue> commandQueue = _commandQueue;
|
||||
return [FlutterDarwinContextMetalSkia createGrContext:device commandQueue:commandQueue];
|
||||
|
Loading…
x
Reference in New Issue
Block a user