[Impeller] Fix CanGenerateMipmaps (#40061) [Impeller] Fix CanGenerateMipmaps
diff --git a/impeller/playground/playground.cc b/impeller/playground/playground.cc index b0c7692..a102d44 100644 --- a/impeller/playground/playground.cc +++ b/impeller/playground/playground.cc
@@ -397,13 +397,14 @@ if (!image.has_value()) { return nullptr; } - return CreateTextureForFixture(image.value()); + return CreateTextureForFixture(image.value(), enable_mipmapping); } std::shared_ptr<Texture> Playground::CreateTextureForFixture( const char* fixture_name, bool enable_mipmapping) const { - return CreateTextureForFixture(OpenAssetAsMapping(fixture_name)); + return CreateTextureForFixture(OpenAssetAsMapping(fixture_name), + enable_mipmapping); } std::shared_ptr<Texture> Playground::CreateTextureCubeForFixture(