Class: SDL::Surface

Inherits:
NiceFFI::Struct
  • Object
show all
Defined in:
lib/ruby-sdl-ffi/sdl/video.rb

Class Method Summary collapse

Class Method Details

.release(pointer) ⇒ Object



125
126
127
# File 'lib/ruby-sdl-ffi/sdl/video.rb', line 125

def self.release( pointer )
  SDL.FreeSurface( pointer )
end