Skip to content
This repository was archived by the owner on Feb 12, 2026. It is now read-only.
This repository was archived by the owner on Feb 12, 2026. It is now read-only.

Example has OpenGL errors #10

@Kipt

Description

@Kipt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions