Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit c07eed4

Browse files
committed
Initialize the texture destruction callback in the Metal embedder test harness
1 parent 4769900 commit c07eed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell/platform/embedder/tests/embedder_test_context_metal.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ FlutterMetalTexture EmbedderTestContextMetal::GetNextDrawable(
9595
}
9696

9797
auto texture_info = metal_surface_->GetTextureInfo();
98-
FlutterMetalTexture texture;
98+
FlutterMetalTexture texture = {};
9999
texture.struct_size = sizeof(FlutterMetalTexture);
100100
texture.texture_id = texture_info.texture_id;
101101
texture.texture =

0 commit comments

Comments
 (0)