From 86a38a01606b01027e072e70ae8928dfda437209 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sat, 16 Jan 2016 00:11:38 -0800 Subject: [PATCH] SteamLink defines. --- examples/common/entry/entry_p.h | 2 +- src/config.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/common/entry/entry_p.h b/examples/common/entry/entry_p.h index 880f4412..502eed67 100644 --- a/examples/common/entry/entry_p.h +++ b/examples/common/entry/entry_p.h @@ -14,7 +14,7 @@ #include // memcpy #ifndef ENTRY_CONFIG_USE_SDL -# define ENTRY_CONFIG_USE_SDL 0 +# define ENTRY_CONFIG_USE_SDL BX_PLATFORM_STEAMLINK #endif // ENTRY_CONFIG_USE_SDL #ifndef ENTRY_CONFIG_USE_GLFW diff --git a/src/config.h b/src/config.h index 730e4924..df5c159c 100644 --- a/src/config.h +++ b/src/config.h @@ -65,6 +65,7 @@ || BX_PLATFORM_NACL \ || BX_PLATFORM_QNX \ || BX_PLATFORM_RPI \ + || BX_PLATFORM_STEAMLINK \ ? 1 : 0) # endif // BGFX_CONFIG_RENDERER_OPENGLES