In the forums I read of some solutions to this problem: they all call setViewport() to fix it, and it calls glViewport... but it's called even in IVideoDriver::OnResize(): the only difference is some calculations with rendering targets missing in the latter.
So what's happening there? is OnResize in need of a fix or is there a reason to make users call setViewPort on their own?
(EDIT: yes, I'm using EDT_OPENGL...)