Lisp HUG Maillist Archive

OpenGL in Lispworks 5.0.2 under OS X 10.5

Hello everybody,

It seems that I cannot run OpenGL in Lispworks 5.0.2 under Leopard  
unless I make this change in the provided opengl code:

(defun choose-cocoa-pixel-format (view configuration)
[...]
            (attributes (fli:allocate-dynamic-foreign-object
                         :type :unsigned-int    ;; changed here  
from :int to :unsigned-int
                         :initial-contents attributes-list)))
[...])

After this things seem to run fine.

best,

Mika Kuuskankare
Researcher
Centre for Music & Technology
Sibelius Academy

Henkilökohtainen postiosoite/Personal post address
PL 342 - PO Box 342
FIN-00121 Helsinki, FINLAND
Tel: +358 (0)40 5415 233
Skype: mkuuskan
home page: www.siba.fi/~mkuuskan




Re: OpenGL in Lispworks 5.0.2 under OS X 10.5

Hi all,

I just had to make the same change in order to get OpenGL up and
running. I didn't see any replies to the original message, though. Has
this been addressed in any `official' way?

On Fri, Nov 2, 2007 at 12:04 PM, Mika Kuuskankare <mkuuskan@siba.fi> wrote:
>
>  Hello everybody,
>
>  It seems that I cannot run OpenGL in Lispworks 5.0.2 under Leopard
>  unless I make this change in the provided opengl code:
>
>  (defun choose-cocoa-pixel-format (view configuration)
>  [...]
>             (attributes (fli:allocate-dynamic-foreign-object
>                          :type :unsigned-int    ;; changed here
>  from :int to :unsigned-int
>                          :initial-contents attributes-list)))
>  [...])
>
>  After this things seem to run fine.
>
>  best,
>
>  Mika Kuuskankare
>  Researcher
>  Centre for Music & Technology
>  Sibelius Academy
>
>  Henkilökohtainen postiosoite/Personal post address
>  PL 342 - PO Box 342
>  FIN-00121 Helsinki, FINLAND
>  Tel: +358 (0)40 5415 233
>  Skype: mkuuskan
>  home page: www.siba.fi/~mkuuskan
>
>
>
>



-- 
=====================
Joshua Taylor
tayloj@cs.rpi.edu, jtaylor@alum.rpi.edu

"A lot of good things went down one time,
 back in the goodle days."
 John Hartford
Updated at: 2020-12-10 08:45 UTC