|
From: Dair G. <da...@re...> - 2004-04-18 20:48:56
|
James W. Walker wrote: >It appears that the stackState->stackState member of the view stack=20 >frame always has the value kQ3ViewStateAll, which means that all=20 >sorts of OpenGL state gets reset every time you pop the stack. Was=20 >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? -dair ___________________________________________________ mailto:dair+refnum.com http://www.refnum.com/ |