factor/basis/opengl/gl/macosx/macosx.factor

6 lines
167 B
Factor

USING: kernel alien alien.libraries ;
IN: opengl.gl.macosx
: gl-function-context ( -- context ) 0 ; inline
: gl-function-address ( name -- address ) f dlsym ; inline