From f034712531044b20a3d5a590b9459d8c53708eb9 Mon Sep 17 00:00:00 2001 From: Yurii Nakonechnyi Date: Thu, 10 Sep 2020 03:11:20 +0300 Subject: [PATCH] Clarify that run.sh builds and runs the GLFW example --- engine/src/flutter/examples/glfw/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/flutter/examples/glfw/README.md b/engine/src/flutter/examples/glfw/README.md index d9df2e8461..c38cae4617 100644 --- a/engine/src/flutter/examples/glfw/README.md +++ b/engine/src/flutter/examples/glfw/README.md @@ -19,11 +19,11 @@ The example has the following dependencies: * [Flutter](https://flutter.dev/) - This can be installed from the [Flutter webpage](https://flutter.dev/docs/get-started/install) * [Flutter Engine](https://flutter.dev) - This can be built or downloaded, see [Custom Flutter Engine Embedders](https://github.com/flutter/flutter/wiki/Custom-Flutter-Engine-Embedders) for more information. -In order to run the example you should be able to go into this directory and run +In order to **build** and **run** the example you should be able to go into this directory and run `./run.sh`. ## Troubleshooting There are a few things you might have to tweak in order to get your build working: * Flutter Engine Location - Inside the `CMakeList.txt` file you will see that it is setup to search for the header and library for the Flutter Engine in specific locations, those might not be the location of your Flutter Engine. * Pixel Ratio - If the project runs but is drawing at the wrong scale you may have to tweak the `kPixelRatio` variable in `FlutterEmbedderGLFW.cc` file. - * GLFW Location - Inside the `CMakeLists.txt` we are searching for the GLFW library, if CMake can't find it you may have to edit that. \ No newline at end of file + * GLFW Location - Inside the `CMakeLists.txt` we are searching for the GLFW library, if CMake can't find it you may have to edit that.