This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -831,13 +831,13 @@ static sk_sp<SkSurface> MakeSkSurfaceFromBackingStore(
831
831
framebuffer_info.fFormat = GL_BGRA8_EXT;
832
832
framebuffer_info.fFBOID = 0 ;
833
833
834
- auto backend_render_target = GrBackendRenderTargets::MakeGL (
835
- config.size .width , // width
836
- config.size .height , // height
837
- 1 , // sample count
838
- 0 , // stencil bits
839
- framebuffer_info // framebuffer info
840
- );
834
+ auto backend_render_target =
835
+ GrBackendRenderTargets::MakeGL ( config.size .width , // width
836
+ config.size .height , // height
837
+ 1 , // sample count
838
+ 0 , // stencil bits
839
+ framebuffer_info // framebuffer info
840
+ );
841
841
842
842
SkSurfaceProps surface_properties (0 , kUnknown_SkPixelGeometry );
843
843
Original file line number Diff line number Diff line change @@ -48,9 +48,9 @@ bool EmbedderTestCompositorSoftware::UpdateOffscrenComposition(
48
48
switch (layer->type ) {
49
49
case kFlutterLayerContentTypeBackingStore :
50
50
layer_image =
51
- reinterpret_cast <EmbedderTestBackingStoreProducer::GLUserData*>(layer-> backing_store -> user_data )
52
- -> surface
53
- ->makeImageSnapshot ();
51
+ reinterpret_cast <EmbedderTestBackingStoreProducer::GLUserData*>(
52
+ layer-> backing_store -> user_data )
53
+ ->surface -> makeImageSnapshot ();
54
54
55
55
break ;
56
56
case kFlutterLayerContentTypePlatformView :
You can’t perform that action at this time.
0 commit comments