Ryan Joseph wrote:
> I’m trying to learn some basics of Windows and porting some OpenGL
> code. The first step is getting an OpenGL context prepared but I’m
> already stuck here.
>
I would recommend our Castle Game Engine
http://castle-engine.sourceforge.net/ . It can be used together with
Lazaru
> On Dec 24, 2015, at 12:28 PM, leledumbo wrote:
>
> FreeGLUT is a drop-in replacement for GLUT (well, minus some behavior
> difference which is documented in their website), so any GLUT program should
> work on FreeGLUT. The Pascal wrapper, however, is not the same glut32 unit
> because it link
Thanks for all the links I appreciate it; I’ll look over these also and compare
them to FreeGLUT for my uses.
> On Dec 24, 2015, at 12:02 PM, Anthony Walter wrote:
>
> I recommend SDL 2.0.
>
> https://www.libsdl.org/download-2.0.php
>
> I have a complete pascal source code declaration of it
> There is a FreeGLUT package which it looks like FPC supports and I was able
to find the units and download a recent .dll but it complains about missing
symbols unless I add the glut unit which then attempts to load the
glut32.dll and fails
FreeGLUT is a drop-in replacement for GLUT (well, minus
I recommend SDL 2.0.
https://www.libsdl.org/download-2.0.php
I have a complete pascal source code declaration of it here:
http://github.com/sysrpl/Bare.Game/blob/master/source/bare.interop.sdl2.pas
I also have an object orient wrapper if you want to get straight into
OpenGL:
immediate mode cu