Try posting this on FPC forums. I don't think there are any core FPC devs here. Also until you get proper fix, yes it would be good to make c/c++ glue here.
Try posting this on FPC forums. I don't think there are any core FPC devs here. Also until you get proper fix, yes it would be good to make c/c++ glue here.
I'll do that. I asked in the Mac Pascal list long ago and nobody knew anything, so I hoped that the game developers here might be more up to date. Thanks!
How about Linux and Windows, are you using 3.2+ without problems?
I don't use OGL. I'm mainly 2D guy and if I feel going 3D, I mainly use already made engine such as Unity or CraftStudio.
Have you tried using our dglOpenGL.pas OpenGL Header? It works with Delphi and FPC and supports the latest OpenGL version (4.3). I haven't tested it on MacOSX, but at least on Windows and Linux GL 3.x and GL 4.x works fine.
I think that the GL interface shipped with FPC is based on dglOpenGL. But I think that the problem is that it isn't designed for the strict split between core and compatibility mode OpenGL that the Mac uses.
I have an idea about how I could change the interface but I fear that it might be complicated.
I'm also using dglOpenGL header with FPC under windows. I've read somewhere that it's better to use it than those shipped with lazarus. Project works ok on both cards in my laptop, opengl 3.1 and 4.2 modes
Bookmarks