Skip to content

Enum of error for glBindBuffer for gl4 is wrong #149

Description

@shajder

it is: GL_INVALID_VALUE is generated if buffer is not a name previously returned from a call to glGenBuffers.

it should be INVALID_OPERATION, spec reference:

BindBuffer fails and an INVALID_OPERATION error is generated if buffer is
not zero or a name returned from a previous call to GenBuffers, or if such a name
has since been deleted with DeleteBuffers.

BTW. gl3 core spec does not specify any error, 3.1 and higher states as above

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions