# File lib/rubygame/ttf.rb, line 44 def self.setup if( SDL::TTF.WasInit() == 0 and SDL::TTF.Init() != 0 ) raise( Rubygame::SDLError, "Could not setup TTF class: #{SDL.GetError()}" ) end end