You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 12, 2026. It is now read-only.
In the example code, the call next to comment // attach texture to the framebuffer glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, GL_TEXTURE_2D, viewTex, 0);
causes GL_INVALID_OPERATION to be raised. Debug message says:
GL_INVALID_OPERATION error generated. Cannot modify the default framebuffer object.
In the example code, the call next to comment
// attach texture to the framebufferglFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_STENCIL_ATTACHMENT, GL_TEXTURE_2D, viewTex, 0);causes GL_INVALID_OPERATION to be raised. Debug message says: