[fpc-devel] OpenGL patch
micha at neli.hopto.org
Mon Jun 20 20:09:30 CEST 2005
On Mon, 20 Jun 2005 18:53:04 +0200
Florian Klaempfl <florian at freepascal.org> wrote:
> Ales Katona wrote:
> > Ok so here's the patch. If you feel some things should change, tell me
> > about it.
> > This patch adds "TryLoadGL[u[t]]" and "GL[u[t]]IsLoaded" methods and
> > also "fixes" the crash on win32 if opengl is not present. (but it will
> > still crash later, if the user doesn't check)
> I don't like this patch. Some years ago we didn't abort when no e.g. no
> glut.dll was found and we get a lot of bug reports like 2969 and 3100
> where people complained that they get runtime errors when using opengl code.
Crashing at startup is also a runtime error ;-)
More information about the fpc-devel