Version française
Home     About     Download     Resources     Contact us    
Browse thread
ANN: Chess III Arena 0.5
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: Re: [Caml-list] ANN: Chess III Arena 0.5

Le 5 juil. 07 à 14:52, Jon Harrop a écrit :

> Anyway, you can use texture objects by supplementing texture.ml with:

[...]

By the way I'm not sure how your code gets called but I think that  
the first time you'll load the texture is when the display list is  
created, so it's this command that will be retained (along with the  
creation of a texture object) and not the _use_ of a texture object.  
Thus you should first "activate" all textures once and then generate  
the display lists. No glTexImage2d call during the display list  
creation !

Daniel