From 296455e3b9589673f2b58c3fd311bb441366e89e Mon Sep 17 00:00:00 2001 From: Tony Barbour Date: Thu, 8 Dec 2016 14:30:55 -0700 Subject: demos: Fix compile warning in smoke Change-Id: I60ee7f881cfd2bd78de21fa14146ef5667e20cc6 --- demos/smoke/Main.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 &args) { return new Smoke(args); } +#endif Game *create_game(int argc, char **argv) { -- cgit v1.2.3