opengl.gl: stop using find-library.

locals-and-roots
John Benediktsson 2016-03-28 23:55:39 -07:00
parent da90f22b9b
commit 1bdab8d421
1 changed files with 7 additions and 8 deletions

View File

@ -2,10 +2,8 @@
! See http://factorcode.org/license.txt for BSD license. ! See http://factorcode.org/license.txt for BSD license.
! This file is based on the gl.h that comes with xorg-x11 6.8.2 ! This file is based on the gl.h that comes with xorg-x11 6.8.2
USING: alien alien.c-types alien.libraries alien.syntax
USING: alien alien.c-types alien.libraries io.encodings.ascii kernel opengl.gl.extensions system ;
alien.libraries.finder alien.syntax init io.encodings.ascii
kernel opengl.gl.extensions system ;
FROM: alien.c-types => short ; FROM: alien.c-types => short ;
IN: opengl.gl IN: opengl.gl
@ -629,10 +627,11 @@ CONSTANT: GL_CLIENT_ALL_ATTRIB_BITS 0xFFFFFFFF
LIBRARY: gl LIBRARY: gl
[ <<
os [ linux? ] [ macosx? not ] bi and os linux? [
[ "gl" "GL" find-library cdecl add-library ] when "gl" "libGL.so" cdecl add-library
] "find-gl" add-startup-hook ] when
>>
! Miscellaneous ! Miscellaneous