Skip to content

Commit

Permalink
Initialize the texture destruction callback in the Metal embedder tes…
Browse files Browse the repository at this point in the history
…t harness (#44973)
  • Loading branch information
jason-simmons authored Aug 22, 2023
1 parent 0a3cb0c commit c323c85
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ FlutterMetalTexture EmbedderTestContextMetal::GetNextDrawable(
}

auto texture_info = metal_surface_->GetTextureInfo();
FlutterMetalTexture texture;
FlutterMetalTexture texture = {};
texture.struct_size = sizeof(FlutterMetalTexture);
texture.texture_id = texture_info.texture_id;
texture.texture =
Expand Down

0 comments on commit c323c85

Please sign in to comment.