[Lazarus] OpenGL on FreeBSD
Marc Santhoff
M.Santhoff at web.de
Sun Jan 8 13:15:24 CET 2017
On So, 2017-01-08 at 12:51 +0100, Marc Santhoff via Lazarus wrote:
> 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.
Done, works using gtk2. At least for the fpvectorial example
"fpv3dviewer". :)
Marc
More information about the Lazarus
mailing list