module GL_VERSION_1_0::RenderContext

Public Instance Methods

begin(mode) { || ... } click to toggle source
# File lib/roglew/extensions/GL_VERSION_1_0.rb, line 266
def begin(mode)
  @rh.glBegin(mode)
  return unless block_given?
  yield
  @rh.glEnd
end