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 (05:49)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: Re: [Caml-list] Crashing X.Org with lablgl

Le 26 févr. 07 ŕ 06:01, David Thomas a écrit :

> 1) I'm sure that there *shouldn't* be any sequence of
> calls to lablgl that should outright crash the X
> server... does anyone know how true this proves in
> practice?

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 ?