[cffi-devel] Fwd: Bus error ... ?! Help, please ... Additional info 2
Frank Goenninger
frgo at me.com
Sat May 9 09:15:30 UTC 2009
Am 08.05.2009 um 21:54 schrieb Martin Simmons:
>>>>>> On Fri, 08 May 2009 21:21:42 +0200, Frank Goenninger said:
>>
>> Another piece of info that makes me look - shocked:
>>
>> 1. I loaded the cl-opengl OpenGL bindings from common-lisp.net once
>> again.
>> 2. I just started my lisp process and loaded the cl-opengl package
>> via
>> ASDF
>> 3. A simple (gl:get-error) results in exactly the same error - but no
>> other package is loaded, so I am assuming cl-opengl is not the root
>> cause of this.
>
> I think the problem is that OpenGL on the Mac must be connected to a
> rendering
> engine in the thread where you call it. I get crashes with the
> LispWorks
> OpenGL code too unless I call glGetString from the event loop thread
> after
> starting the OpenGL demo.
>
> __Martin
Yes, thanks Martin, I know that this is a requirement on OS X. There
is just one thread running...
Cheers
Frank
--
Frank Goenninger
Cell: +49 175 4321058
E-Mail: frgo at me.com
More information about the cffi-devel
mailing list