1 ! Copyright (C) 2010 Anton Gorenko.
2 ! See https://factorcode.org/license.txt for BSD license.
3 USING: alien.strings gdk.gl.ffi io.encodings.ascii ;
6 : gl-function-context ( -- context )
7 gdk_gl_context_get_current ; inline
9 : gl-function-address ( name -- address )
10 ascii string>alien gdk_gl_get_proc_address ; inline