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

updated order of gen/bind depth framebuffer. This fixes GL_INVALID_FR… #24

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

Conversation

carmsden
Copy link

@carmsden carmsden commented Feb 9, 2020

I built the examples on windows 10 with OpenGL 4.6.0 NVIDIA 436.48. Unfortunately 04-shadowmap example wasn't showing any shadows.

OpenGL was raising the following error:
GL_INVALID_FRAMEBUFFER_OPERATION error generated. Operation is not valid because a bound framebuffer is not framebuffer complete.

To fix I updated the position of gen/bind depth framebuffer.

…AMEBUFFER_OPERATION error generated. Operation is not valid because a bound framebuffer is not framebuffer complete.
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