Skip to content

Instantly share code, notes, and snippets.

@remogatto
Created March 8, 2009 20:37
Show Gist options
  • Save remogatto/75895 to your computer and use it in GitHub Desktop.
Save remogatto/75895 to your computer and use it in GitHub Desktop.
module GL
extend FFI::Library
ffi_lib '/System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib'
end
module GLU
extend FFI::Library
ffi_lib '/System/Library/Frameworks/OpenGL.framework/Libraries/libGLU.dylib'
end
module GLUT
extend FFI::Library
ffi_lib '/System/Library/Frameworks/GLUT.framework/GLUT.dylib'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment