Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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 ?