From 0a1b6b66b0f2efaae644376fadb8860d5b69d0f4 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Fri, 3 Apr 2015 08:12:03 +1100 Subject: [PATCH] Fix warning with some clang configurations, don't automatically disable bgfx for 10.5 Leopard --- scripts/genie.lua | 3 --- src/osd/osdepend.h | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/genie.lua b/scripts/genie.lua index 2719e020b7b..335062eee86 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -218,9 +218,6 @@ if _OPTIONS["NOASM"]=="1" and not _OPTIONS["FORCE_DRC_C_BACKEND"] then end USE_BGFX = 1 -if (_OPTIONS["targetos"]=="macosx" and os_version < 100600) then - USE_BGFX = 0 -end if(_OPTIONS["USE_BGFX"]~=nil) then USE_BGFX = tonumber(_OPTIONS["USE_BGFX"]) end diff --git a/src/osd/osdepend.h b/src/osd/osdepend.h index 1d1f10e006e..5b57f55881c 100644 --- a/src/osd/osdepend.h +++ b/src/osd/osdepend.h @@ -74,6 +74,8 @@ public: // midi interface virtual osd_midi_device *create_midi_device() = 0; +protected: + virtual ~osd_interface() { } }; #endif /* __OSDEPEND_H__ */