main: move TTF_Init from keyboard::makeKeyboard (MR 145)
Other objects use TTF_* too, so initializing it in the keyboard object could introduce some race condition (though I've never seen one first hand...) It's still good to do it in a central place. This also calls TTF_Quit() to clean up.
Please register or sign in to comment