Module: Roglew::GL::Native

Included in:
Roglew::GL, Roglew::GLX, WGL
Defined in:
lib/roglew/gl.rb

Class Method Summary collapse

Class Method Details

.included(m) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/roglew/gl.rb', line 4

def self.included(m)
  m.instance_eval do
    extend FFI::Library
    ffi_convention :stdcall
    ffi_lib GL::LIBRARY
  end
end