glClear

Started by
0 comments, last by pammatt 19 years, 7 months ago
hi all, does glClear clears the viewport or window; I define two viewports and use glClear beneath the definition of viewport; but i don't get the viewports with diff. background color; It just displays one color only; online resources confuses me saying window and in certain places as viewport. help me out.... ~ kavitha
Advertisement
It will clear the whole thing. Use glScissor with the same parameters as glViewport and it will only clear that viewport. (At least I think that's what I did.. been awhile.)

This topic is closed to new replies.

Advertisement