Reimar Grabowski kirjoitti maanantai 14 helmikuu 2011 05:44:18:
> For OpenGL calls no conversion should be needed. GL works the same
> independent of language/OS (except context handling and some OS-specific
> extensions WGL_*, GLX_*, etc.). OpenGL is just a bunch of commands which
> go directly to the graphics driver.
> 
> > I would try to automate it with Delphi converter but I don't know much
> > about graphics programming myself.
> 
> Just go ahead. If you have any problems ask again. I know a thing or two
> about OpenGL and graphics programming in general.

DeleD has types and functions defined only on Windows.
At least types:
 HGLRC
 PixelFormatDescriptor

and functions:
 wglMakeCurrent
 wglDeleteContext
 wglCreateContext
 wglUseFontBitmaps
 wglUseFontOutlines
 SwapBuffers
 ZeroMemory
 ChoosePixelFormat
 SetPixelFormat
 ActivateRenderingContext

There are more...

Juha

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to