# File lib/rubygame/screen.rb, line 108 def get_surface s = SDL.GetVideoSurface() if s.pointer.null? raise( Rubygame::SDLError, "Couldn't get video surface: #{SDL.GetError()}" ) end return self.new( s ) end