mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
SDL2: Moved renderer to main thread. Added --with-sdl GENie option.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user