Hello everyone!
I've been chasing a bad bug (you can tell by my recent posts) and I think it's related to a warning I get that there is an 'invalid value' detected by glGetError which was originally first detected at the start of State::apply(StateSet*) since I turned on ONCE_PER_ATTRIBUTE checking for GL errors.
Since then, I've manually added checking for GL errors at the beginning an end of almost all State methods, and I've since narrowed it down, and now the first time I get the warning is at the top of State::applyProjectionMatrix(const osg::RefMatrix*)
My question is: how can I find out what the underlying problem is? What is the 'invalid value'? Where is it coming from? If I know how that invalid value is begin set (and where, why, etc.) I can debug the underlying issue. As of now, I still don't know what the value is or where it comes from, just that it is first detected at the top of State::applyProjectionMatrix
Please let me know what ideas you have, I am getting desperate for a solution as I've been working on this for a very long time.
Thank you very much!
Erik