  
      // Create the Engine after the window in case this happens to be a single-threaded platform.
 diff --git a/samples/app/FilamentApp.h b/samples/app/FilamentApp.h
-index 7f4ec2f..0a3b8a2 100644
+index dfa2474..f54b99a 100644
 --- a/samples/app/FilamentApp.h
 +++ b/samples/app/FilamentApp.h
 @@ -48,6 +48,7 @@ class MeshAssimp;

     mDepthMaterial = Material::Builder()
             .package(RESOURCES_DEPTHVISUALIZER_DATA, RESOURCES_DEPTHVISUALIZER_SIZE)
             .build(*mEngine);
@@ -279,6 +293,7 @@ void FilamentApp::run(const Config& config, SetupCallback setupCallback,
                     break;
                 case SDL_WINDOWEVENT:
                     switch (event.window.event) {

 };
 
diff --git a/samples/app/FilamentApp.cpp b/samples/app/FilamentApp.cpp
index 200d2d2..796b0d5 100644
--- a/samples/app/FilamentApp.cpp
+++ b/samples/app/FilamentApp.cpp
@@ -68,9 +68,23 @@ void FilamentApp::run(const Config& config, SetupCallback setupCallback,
