Skip to content

Moved clear after activate in framebuffer.py doc.#189

Merged
rougier merged 1 commit into
glumpy:masterfrom
sebftw:patch-3
Jan 23, 2019
Merged

Moved clear after activate in framebuffer.py doc.#189
rougier merged 1 commit into
glumpy:masterfrom
sebftw:patch-3

Conversation

@sebftw

@sebftw sebftw commented Jan 22, 2019

Copy link
Copy Markdown
Contributor

You have to clear when the framebuffer is bound, or else it is just clearing the window and not your renderbuffers.

You have to clear when the framebuffer is bound, or else it is just clearing the window and not your renderbuffers.
sebftw added a commit to sebftw/glumpy that referenced this pull request Jan 22, 2019
Instead of calling window.clear() when we have a framebuffer activated we should call framebuffer.clear().
Then it makes sure to clear the renderbuffers that are set. Of course merging this change will make my other pull request redundant:
glumpy#189
@rougier

rougier commented Jan 23, 2019

Copy link
Copy Markdown
Member

Thanks !

@rougier rougier merged commit 53181be into glumpy:master Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants