summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/common/entry/entry_p.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-03-26 08:14:29 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-03-26 08:14:29 +0100
commit522a6d8c30082725de73d6af310004726b307f93 (patch)
tree2b622c71afc626abe1a772144df8de807bb9485b /3rdparty/bgfx/examples/common/entry/entry_p.h
parent8ba6abb1c0f5d0cab7778c32593cc65f87854c2e (diff)
updated to latest 3rdparty
Diffstat (limited to '3rdparty/bgfx/examples/common/entry/entry_p.h')
-rw-r--r--3rdparty/bgfx/examples/common/entry/entry_p.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/3rdparty/bgfx/examples/common/entry/entry_p.h b/3rdparty/bgfx/examples/common/entry/entry_p.h
index 74d4756b5cb..d41ab56804b 100644
--- a/3rdparty/bgfx/examples/common/entry/entry_p.h
+++ b/3rdparty/bgfx/examples/common/entry/entry_p.h
@@ -17,8 +17,13 @@
# define ENTRY_CONFIG_USE_SDL 0
#endif // ENTRY_CONFIG_USE_SDL
-#if !ENTRY_CONFIG_USE_SDL && \
- !defined(ENTRY_CONFIG_USE_NATIVE)
+#ifndef ENTRY_CONFIG_USE_GLFW
+# define ENTRY_CONFIG_USE_GLFW 0
+#endif // ENTRY_CONFIG_USE_GLFW
+
+#if !defined(ENTRY_CONFIG_USE_NATIVE) \
+ && !ENTRY_CONFIG_USE_SDL \
+ && !ENTRY_CONFIG_USE_GLFW
# define ENTRY_CONFIG_USE_NATIVE 1
#else
# define ENTRY_CONFIG_USE_NATIVE 0