hazelwood
01-10-2006, 08:52 AM
Is it OK to call glViewport once (or even multiple times) per frame?
I just noticed that I'm being lazy and just calling it at start of every frame (in case the user changed his FOV settings or something), but now I'm wondering whether there's some overhead behind it (even if it's only for some drivers, I'd rather not have this happening).
I just noticed that I'm being lazy and just calling it at start of every frame (in case the user changed his FOV settings or something), but now I'm wondering whether there's some overhead behind it (even if it's only for some drivers, I'd rather not have this happening).