module CyberarmEngine

Constants

Color
Face
NAME
Point
TextureCoordinate
VERSION

Public Instance Methods

gl_error?() click to toggle source
# File lib/cyberarm_engine/opengl.rb, line 9
def gl_error?
  e = glGetError
  if e != GL_NO_ERROR
    warn "OpenGL error detected by handler at: #{caller[0]}"
    warn "    #{gluErrorString(e)} (#{e})\n"
    exit if window.exit_on_opengl_error?
  end
end