KhronosGroup / KhronosGroup/OpenGL-Registry

Please be more explicit about "all such related state"

Open
#264 3 comments 0 reactions 1 assignee Claimed by @tsuoranta View on GitHub
Dominant language
C
Stars
854
Forks
302
PR merge metrics
No merged PRs in 30d

Description

GL 4.6 core / GLES 3.2 section 5.1.2 has language:

"When a buffer ... object is successfully deleted, it is unbound from any bind points it is bound to in the current context, and detached from any attachments of container objects that are bound to the current context, as described for DeleteBuffers ... . If the object binding was established with other related state ... all such related state are restored to default values by the automatic unbind."

It would be great if there was more explicit language for what is included in "all such related state" for each object type / binding point. For example, the specification as is only indirectly suggests that enable/disable and divisor is not part of state that should be reset for vertex attrib pointers. It would also be great to list the side effects in object deletion API function.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.