SDL2: Moved renderer to main thread. Added --with-sdl GENie option.

This commit is contained in:
Branimir Karadzic
2014-10-11 21:55:24 -07:00
parent 12c3508aa2
commit e063661e95
3 changed files with 150 additions and 131 deletions

View File

@@ -13,15 +13,17 @@ project ("example-common")
BGFX_DIR .. "3rdparty",
}
defines {
-- "ENTRY_CONFIG_USE_SDL=1",
}
files {
BGFX_DIR .. "examples/common/**.cpp",
BGFX_DIR .. "examples/common/**.h",
}
if _OPTIONS["with-sdl"] then
defines {
"ENTRY_CONFIG_USE_SDL=1",
}
end
configuration { "xcode4" }
includedirs {
BX_DIR .. "include/compat/osx",