Initialize the texture destruction callback in the Metal embedder test harness (flutter/engine#44973)
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user