From 3a14eb8f1e5bea2fb32d4a208fa8f7ba145ace26 Mon Sep 17 00:00:00 2001 From: Brandon DeRosier Date: Wed, 11 Oct 2023 01:39:55 -0700 Subject: [PATCH] Bump impeller-cmake to 25002cdd90333f9d2da0cb1df3fd635bdb7cfc1f --- src/main_gles.cc | 7 ++++--- third_party/impeller-cmake | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main_gles.cc b/src/main_gles.cc index cfcb728..3390b28 100644 --- a/src/main_gles.cc +++ b/src/main_gles.cc @@ -9,6 +9,7 @@ #include #include +#include "fml/closure.h" #include "fml/mapping.h" #include "imgui/backends/imgui_impl_glfw.h" #include "imgui/imgui.h" @@ -77,14 +78,14 @@ int main() { ::glfwDefaultWindowHints(); -#ifdef __APPLE__ +#ifdef FML_OS_MACOSX // ES Profiles are not supported on Mac. ::glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_API); -#else // __APPLE__ +#else // FML_OS_MACOSX ::glfwWindowHint(GLFW_CLIENT_API, GLFW_OPENGL_ES_API); ::glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 2); ::glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 0); -#endif // __APPLE__ +#endif // FML_OS_MACOSX //::glfwWindowHint(GLFW_SRGB_CAPABLE, GLFW_TRUE); ::glfwWindowHint(GLFW_RED_BITS, 8); ::glfwWindowHint(GLFW_GREEN_BITS, 8); diff --git a/third_party/impeller-cmake b/third_party/impeller-cmake index ca52d9e..25002cd 160000 --- a/third_party/impeller-cmake +++ b/third_party/impeller-cmake @@ -1 +1 @@ -Subproject commit ca52d9e1319d861a266099233fe8800e9f63eceb +Subproject commit 25002cdd90333f9d2da0cb1df3fd635bdb7cfc1f