Merged in refactor changes
[cl-glfw.git] / lib / opengl-library.lisp
blob36d168dad16206c8c887fdafd498e827aa3a9783
1 (in-package #:cl-glfw-opengl)
3 ;; ECL's DFFI seems to have issues if you don't put the full path in
4 #+(and unix ecl)
5 (eval-when (:compile-toplevel :load-toplevel :execute)
6 (setf cffi:*foreign-library-directories*
7 (list "/usr/local/lib/" "/usr/lib/")))
9 (cffi:load-foreign-library '(:or (:framework "OpenGL")
10 "opengl32.dll"
11 (:default "libGL")
12 (:default "opengl")
13 (:default "opengl32")
14 (:default "GL")
15 (:default "gl")
16 (:default "libOpenGL")
17 (:default "OpenGL")))