DeXtr0
1
Hi All,
Does anybody know if it’s possible to define multiple viewports in 1 application ?
I want to show different stuff in different parts of the screen.
I defined another viewport but all the things that were visible in my first viewport are getting cleared
Thanks for helping me out already,
DeXtr0
NiCo1
3
The clear command clears the whole framebuffer, it’s not restricted to the current viewport.
To clear a part of your window, just draw a quad and set the front color to your desired clearcolor.
Nico
you can also use glscissor to restrict the area affected by glclear
DeXtr0
5
Thanks all,
the glscissor function was the most effective one for me.
Regards,
DeXtr0