[fpc-pascal] GLPT v0.1.1 released

Darius Blaszyk dhkblaszyk at gmail.com
Wed Oct 10 06:41:57 CEST 2018


Setting the OpenGl version is on top of my list. I 'm no expert but I will
make the changes accordingly, counting on feedback from you all.

Rgds, Darius

On Wed, Oct 10, 2018 at 6:08 AM Ryan Joseph <ryan at thealchemistguild.com>
wrote:

>
>
> > On Oct 9, 2018, at 12:19 PM, Ingemar Ragnemalm <ingemar at ragnemalm.se>
> wrote:
> >
> > All your demos are old-style. I can't even see a single shader anywhere.
> I think you should use modern OpenGL more. For instance, I have made a
> modern version of the dear old Gears demo:
>
> There’s not even a way to switch the OpenGL version yet so the project is
> effectively not ready for use (it’s stuck on 2.1 on OS X for example).
>
> I suggest he just adds a record to the parameters when creating a window
> for the simplest solution. SDL uses a constants and setter/getter functions
> but a simple record is better.
>
> type
>   GLPT_Context = record
>     doubleBuffer: boolean;
>     colorSize: byte;
>     depthSize: byte;
>     stencilSize: byte;
>     profile: byte;
>     minorVersion: byte;
>     majorVersion: byte;
>   end;
>
>
> Regards,
>         Ryan Joseph
>
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20181010/01c8bea4/attachment.html>


More information about the fpc-pascal mailing list