Re: [Plib-devel] defered display lists
Brought to you by:
sjbaker
From: Erik H. <er...@eh...> - 2004-10-11 16:52:06
|
Erik Hofman wrote: > Steve Baker wrote: > >> Erik Hofman wrote: >> >>> Are there any objections to adding a defered display list method (by >>> creating a new function call useDList() that creates the display list >>> for that particular leaf node the first time when the >>> ssgVtxTable::draw method is called? >> >> >> >> I can't think of any obvious problems. > > > Ok, here is the patch. Oops, I noticed a problem with this one: > #ifdef _SSG_USE_DLIST > + if ( generate_dlist ) > + { > + makeDList () ; > + generate_dlist = 0 ; These two lines have to be inverted. > #ifdef _SSG_USE_DLIST > + if ( generate_dlist ) > + { > + makeDList () ; > + generate_dlist = 0 ; Just like these. Erik |