|
From: James W. W. <os...@jw...> - 2004-04-18 21:42:20
|
On Apr 18, 2004, at 1:48 PM, Dair Grant wrote: > James W. Walker wrote: > >> It appears that the stackState->stackState member of the view stack >> frame always has the value kQ3ViewStateAll, which means that all >> sorts of OpenGL state gets reset every time you pop the stack. Was >> there some unfinished plan to make this behave more sensibly? > > Hmm, yes, you're right - looks like that never got finished off. > > The idea was to be able to keep track of what's changed at each level > of > the stack, so that when we pop the stack we're able to update only > those > bits of state which actually changed in the corresponding push. > > But at the moment we start it off as kQ3ViewStateAll, and never keep > track of things as they're added: so end up with clearing everything on > each pop. > > Do you want to fix it up to work properly, or log a bug so that we know > it could be improved? I'll see if I can fix it. If I don't get it done soon, I'll file a bug. -- <http://www.jwwalker.com/> |