English version
Accueil     Ŕ propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis ŕ jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml ŕ l'adresse ocaml.org.

Browse thread
Crashing X.Org with lablgl
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-02-26 (08:04)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] Crashing X.Org with lablgl
On Monday 26 February 2007 05:51, Daniel Bünzli wrote:
> There are things that are off-limits to lablgl's type safety, for
> example on osx a call to any opengl function before a rendering
> context has been created just crashes the program. Did you try to
> call Gl.raise_error in your rendering loop to be sure you are not
> doing something wrong with opengl ?

The order of initialisation calls can cause segfaults on some machines.

I did some fairly extensive testing before we released Presenta. Around 10% of 
machines crashed OpenGL binaries that were moved onto them.

If you want portable (between machines) 3D then try F#, .NET and managed 

Dr Jon D Harrop, Flying Frog Consultancy Ltd.
OCaml for Scientists