opengl.gl.unix renamed to opengl.gl.x11

db4
Slava Pestov 2010-05-23 22:23:44 -04:00
parent cd5c1ab499
commit 6b87f0d0d9
4 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ ERROR: unknown-gl-platform ;
<< {
{ [ os windows? ] [ "opengl.gl.windows" ] }
{ [ os macosx? ] [ "opengl.gl.macosx" ] }
{ [ os unix? ] [ "opengl.gl.unix" ] }
{ [ os unix? ] [ "opengl.gl.x11" ] }
[ unknown-gl-platform ]
} cond use-vocab >>

View File

@ -1,5 +1,5 @@
USING: alien kernel x11.glx ;
IN: opengl.gl.unix
IN: opengl.gl.x11
: gl-function-context ( -- context ) glXGetCurrentContext ; inline
: gl-function-address ( name -- address ) glXGetProcAddressARB ; inline