aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Barbour <tony@LunarG.com>2016-12-08 14:30:55 -0700
committerTony Barbour <tony@LunarG.com>2016-12-08 14:31:46 -0700
commit296455e3b9589673f2b58c3fd311bb441366e89e (patch)
tree0240a12c96c5b1709cbb3f737337583b5eb673db
parent944e56e595a9915028b217731c83971609eb9f3d (diff)
downloadusermoji-296455e3b9589673f2b58c3fd311bb441366e89e.tar.xz
demos: Fix compile warning in smoke
Change-Id: I60ee7f881cfd2bd78de21fa14146ef5667e20cc6
-rw-r--r--demos/smoke/Main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/smoke/Main.cpp b/demos/smoke/Main.cpp
index 5150d4a4..b0da6cb8 100644
--- a/demos/smoke/Main.cpp
+++ b/demos/smoke/Main.cpp
@@ -21,10 +21,12 @@
namespace {
+#if defined(VK_USE_PLATFORM_ANDROID_KHR)
Game *create_game(const std::vector<std::string> &args)
{
return new Smoke(args);
}
+#endif
Game *create_game(int argc, char **argv)
{