[Mesa-dev] [Bug 68296] Using old viewport value after a window resize (content is clipped)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 21 20:56:48 PDT 2014


--- Comment #13 from Michel Dänzer <michel at daenzer.net> ---
(In reply to comment #12)
> If then you add a glClear(GL_COLOR_BUFFER_BIT) after the call to
> glViewport(...), then the problem goes away.
> The question is, is it the responsibility of the GL client program to make a
> call to glClear after executing glViewport, [...]

It is, if the GL client program wants the new viewport size to be filled with
the clear colour.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140722/aa938af6/attachment.html>

More information about the mesa-dev mailing list