Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added glClear() to avoid *really* scary screen flickering #231

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NoHandsMate
Copy link

I'm learning OpenGL, and when i followed the first tutorial my screen was just flickering without reasons instead of being completely black. So I discovered that before swapping the buffers I needed to clear the buffer first. Thanks to this answer: https://stackoverflow.com/a/27679342

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.

1 participant