summaryrefslogtreecommitdiff
path: root/demos
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
commit1c564cb5c08eec3b34362fd997429d2469d01e3d (patch)
treef5fbcda685843fc694749964d9077c07e10692b7 /demos
parent4b6738a6adb4e813d66234defee5d18b7c84340d (diff)
demos: Fix compile warning in smoke
Change-Id: I60ee7f881cfd2bd78de21fa14146ef5667e20cc6
Diffstat (limited to 'demos')
-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)
{