From 8a37034e90c5ff66838ab49b7519e0ca1ff26c28 Mon Sep 17 00:00:00 2001 From: Brandon DeRosier Date: Tue, 31 Oct 2023 17:21:25 -0700 Subject: [PATCH] Bump impeller-cmake to head. --- src/main_gles.cc | 19 +++++++++++-------- third_party/impeller-cmake | 2 +- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/main_gles.cc b/src/main_gles.cc index 3390b28..5b077d1 100644 --- a/src/main_gles.cc +++ b/src/main_gles.cc @@ -117,13 +117,15 @@ int main() { return EXIT_FAILURE; } - auto context = impeller::ContextGLES::Create( - std::move(gl), {std::make_shared( - impeller_imgui_shaders_gles_data, - impeller_imgui_shaders_gles_length), - std::make_shared( - impeller_example_shaders_gles_data, - impeller_example_shaders_gles_length)}); + auto context = + impeller::ContextGLES::Create(std::move(gl), + {std::make_shared( + impeller_imgui_shaders_gles_data, + impeller_imgui_shaders_gles_length), + std::make_shared( + impeller_example_shaders_gles_data, + impeller_example_shaders_gles_length)}, + false); if (!context) { std::cerr << "Failed to create Impeller context."; return EXIT_FAILURE; @@ -236,7 +238,8 @@ int main() { impeller::TextureDescriptor depth_texture_desc; depth_texture_desc.type = impeller::TextureType::kTexture2D; - depth_texture_desc.format = impeller::PixelFormat::kD32FloatS8UInt; //DefaultColor; + depth_texture_desc.format = + impeller::PixelFormat::kD32FloatS8UInt; // DefaultColor; depth_texture_desc.size = render_target.GetRenderTargetSize(); depth_texture_desc.usage = static_cast( impeller::TextureUsage::kRenderTarget); diff --git a/third_party/impeller-cmake b/third_party/impeller-cmake index 25002cd..ffb5582 160000 --- a/third_party/impeller-cmake +++ b/third_party/impeller-cmake @@ -1 +1 @@ -Subproject commit 25002cdd90333f9d2da0cb1df3fd635bdb7cfc1f +Subproject commit ffb558292d7e50f8e4bbc65efdd6f37760d8c9a8