Class: GL

Inherits:
Object
  • Object
show all
Defined in:
lib/sdl.rb

Class Method Summary collapse

Class Method Details

.Begin(mode) ⇒ Object



209
210
211
212
213
214
215
216
217
218
219
220
# File 'lib/sdl.rb', line 209

def Begin(mode)
  if block_given? then
	begin
	  Begin_imp(mode)
	  yield
	ensure
	  End()
	end
  else
	Begin_imp(mode)
  end
end

.Begin_impObject



207
# File 'lib/sdl.rb', line 207

alias Begin_imp Begin