aboutsummaryrefslogtreecommitdiff
path: root/graphics/fonts/ttf.cpp
diff options
context:
space:
mode:
authorThierry Crozat2015-12-16 20:41:52 +0000
committerThierry Crozat2015-12-16 20:42:11 +0000
commitef62422e59d691c944838f9da3ac868821d4797c (patch)
treea29fbf9fca0e58c2e0a167743b3ad2cfabd01ec6 /graphics/fonts/ttf.cpp
parent3fab9056296fbf491372f66f7fbb23d6312ad2ad (diff)
downloadscummvm-rg350-ef62422e59d691c944838f9da3ac868821d4797c.tar.gz
scummvm-rg350-ef62422e59d691c944838f9da3ac868821d4797c.tar.bz2
scummvm-rg350-ef62422e59d691c944838f9da3ac868821d4797c.zip
OSX: Fix menus when using SDL2
We remove the menus added by SDL before inserting our own menus, but the code assumed that there were two SDL generated menus. SDL2 actually adds three menus. So the new code makes no assumptions on the number of menus so that it works with both SDL1.2 and SDL2. Also fix an issue on OS X 10.4 and earlier that caused the app menu to be nameless.
Diffstat (limited to 'graphics/fonts/ttf.cpp')
0 files changed, 0 insertions, 0 deletions