Hi all,
I’ve modified openGl.l as follows:
(if (= *OS "Darwin")
(default
*GluLib "OpenGL.framework/OpenGL"
*GlutLib "GLUT.framework/GLUT"
*GlutCheckEvent "glutCheckLoop" )
(default
*GluLib "libGLU.so.1"
*GlutLib "libglut.so.3"
*GlutCheckEvent "glutMainLoopEvent" ) )
..
(de glutMainLoopEvent ()
(native `*GlutLib `*GlutCheckEvent) )
Regards,
Andras
> On 2020. Nov 5., at 19:35, Andras Pahi <[email protected]> wrote:
>
> Hi all,
>
> You need to change glutMainLoopEvent to glutCheckLoop on MacOS.
> Everything works as expected on my fork (not pil21, sorry).
>
> I have attached the screenshots.
>
> Regards,
> Andras
>
> <cube.png><pyramids.png><sphere.png>
>
>
>> On 2020. Nov 5., at 19:00, Alexander Burger <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>> On Thu, Nov 05, 2020 at 07:50:01PM +0200, Mike wrote:
>>>
>>>> I hear from Mike that "Darwin" is not correct for pil21.
>>>>
>>>> "Macos"?
>>>
>>> This is not issue anymore, I have manually disabled this if to use correct
>>> definitions.
>>
>> Right. But it is needed so that it also runs on other systems.
>> The else-bodo of the 'if' works for me under Debian.
>>
>> ☺/ A!ex
>>
>> --
>> UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe
>> <mailto:[email protected]?subject=Unsubscribe>
>