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

Commit 5745629

Browse files
committed
Always use RGBA for the placeholder texture
1 parent 67a5f04 commit 5745629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

impeller/scene/scene_context.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ SceneContext::SceneContext(std::shared_ptr<Context> context)
4949
{
5050
impeller::TextureDescriptor texture_descriptor;
5151
texture_descriptor.storage_mode = impeller::StorageMode::kHostVisible;
52-
texture_descriptor.format = PixelFormat::kDefaultColor;
52+
texture_descriptor.format = PixelFormat::kR8G8B8A8UNormInt;
5353
texture_descriptor.size = {1, 1};
5454
texture_descriptor.mip_count = 1u;
5555

0 commit comments

Comments
 (0)