summarylogtreecommitdiffstats
path: root/lua-sample-build.patch
diff options
context:
space:
mode:
authorMartin T. H. Sandsmark2020-04-10 15:10:20 +0200
committerMartin T. H. Sandsmark2020-04-10 15:11:01 +0200
commit8e5315d0d38633c0fec1665ea15b71a03a8a835d (patch)
treedb220e7ffd6f02f18e6a83e81c2ef3cdee726562 /lua-sample-build.patch
parent8dccec433c1c060f800920d16dfe2fb4420105c6 (diff)
downloadaur-8e5315d0d38633c0fec1665ea15b71a03a8a835d.tar.gz
clean up and fix build
Diffstat (limited to 'lua-sample-build.patch')
-rw-r--r--lua-sample-build.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/lua-sample-build.patch b/lua-sample-build.patch
new file mode 100644
index 000000000000..771c7f2922e0
--- /dev/null
+++ b/lua-sample-build.patch
@@ -0,0 +1,13 @@
+diff --git a/Samples/luainvaders/src/main.cpp b/Samples/luainvaders/src/main.cpp
+index a9b79ac..4a51913 100644
+--- Samples/luainvaders/src/main.cpp
++++ Samples/luainvaders/src/main.cpp
+@@ -139,7 +139,7 @@ int main(int, char**)
+ context->RemoveReference();
+
+ // Shutdown Lua before we shut down Rocket.
+- Rocket::Core::Lua::Interpreter::Shutdown();
++ Rocket::Core::Lua::Interpreter::Shutdown(true);
+
+ // Shut down the game singletons.
+ HighScores::Shutdown();