Class: Gl::ImplementationGLX

Inherits:
Implementation
  • Object
show all
Defined in:
lib/opengl/implementation.rb

Constant Summary collapse

DLPATH =
"libGL.so"

Class Method Summary collapse

Class Method Details

.openObject



26
27
28
29
30
31
32
# File 'lib/opengl/implementation.rb', line 26

def self.open
  begin
    super(DLPATH, "glXGetProcAddress")
  rescue NotImplementedError
    super(DLPATH, "glXGetProcAddressARB")
  end
end