forked from firka/flutter
[Impeller] Make 'SurfaceGLES::WrapFBO' pass attachment validation (flutter/engine#35881)
This commit is contained in:
@@ -30,6 +30,7 @@ std::unique_ptr<Surface> SurfaceGLES::WrapFBO(std::shared_ptr<Context> context,
|
||||
color0_tex.size = fbo_size;
|
||||
color0_tex.usage = static_cast<TextureUsageMask>(TextureUsage::kRenderTarget);
|
||||
color0_tex.sample_count = SampleCount::kCount1;
|
||||
color0_tex.storage_mode = StorageMode::kDevicePrivate;
|
||||
|
||||
ColorAttachment color0;
|
||||
color0.texture = std::make_shared<TextureGLES>(
|
||||
|
||||
Reference in New Issue
Block a user