Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Always use RGBA for the placeholder texture
  • Loading branch information
bdero committed Dec 13, 2022
commit 559b0baf6e4e696418626d25e0c0c2aa6185fff5
2 changes: 1 addition & 1 deletion impeller/scene/scene_context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ SceneContext::SceneContext(std::shared_ptr<Context> context)
{
impeller::TextureDescriptor texture_descriptor;
texture_descriptor.storage_mode = impeller::StorageMode::kHostVisible;
texture_descriptor.format = PixelFormat::kDefaultColor;
texture_descriptor.format = PixelFormat::kR8G8B8A8UNormInt;
texture_descriptor.size = {1, 1};
texture_descriptor.mip_count = 1u;

Expand Down