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

Commit 13c81ca

Browse files
committed
Make 'SurfaceGLES::WrapFBO' pass attachment validation
1 parent 022ebd2 commit 13c81ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

impeller/renderer/backend/gles/surface_gles.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ std::unique_ptr<Surface> SurfaceGLES::WrapFBO(std::shared_ptr<Context> context,
3030
color0_tex.size = fbo_size;
3131
color0_tex.usage = static_cast<TextureUsageMask>(TextureUsage::kRenderTarget);
3232
color0_tex.sample_count = SampleCount::kCount1;
33+
color0_tex.storage_mode = StorageMode::kDevicePrivate;
3334

3435
ColorAttachment color0;
3536
color0.texture = std::make_shared<TextureGLES>(

0 commit comments

Comments
 (0)