]> gitweb.factorcode.org Git - factor.git/blob - basis/opengl/gl/gtk/gtk.factor
Switch to https urls
[factor.git] / basis / opengl / gl / gtk / gtk.factor
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 ;
4 IN: opengl.gl.gtk
5
6 : gl-function-context ( -- context )
7     gdk_gl_context_get_current ; inline
8
9 : gl-function-address ( name -- address )
10     ascii string>alien gdk_gl_get_proc_address ; inline