[Lazarus] OpenGL on FreeBSD

Marc Santhoff M.Santhoff at web.de
Sun Jan 8 12:51:32 CET 2017


On So, 2017-01-08 at 12:31 +0100, Mattias Gaertner via Lazarus wrote:
> On Sun, 08 Jan 2017 10:43:49 +0100
> Marc Santhoff via Lazarus <lazarus at lists.lazarus-ide.org> wrote:

> > And what do I have to do to make it running, looks like the first step
> > is to define the combination of OS and widgetset and try if it works?
> 
> Yes. See unit openglcontext.
> 
> At the moment it checks for Linux:
> 
> {$IFDEF LCLGTK2}
>   {$IFDEF Linux}
>   ...
> 
> You can try if the Linux implementation works on FreeBSD too:
> 
> {$IFDEF LCLGTK2}
>   {$IF defined(Linux) or defined(FreeBSD)}
>   ...

Will try.

Thanks,
Marc




More information about the Lazarus mailing list