# File lib/rubygame/main.rb, line 36
  def self.init
    if( SDL.Init(SDL::INIT_EVERYTHING) == 0 )
      SDL.EnableUNICODE(1)
    else
      raise Rubygame::SDLError, "Could not initialize SDL: #{SDL.GetError()}"
    end
  end