Browse thread
Crashing X.Org with lablgl
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| 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 DirectX. -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. OCaml for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists