opengl.gl.unix renamed to opengl.gl.x11
parent
cd5c1ab499
commit
6b87f0d0d9
|
@ -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 >>
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue