KhronosGroup / KhronosGroup/OpenGL-Registry

glObjectPtrLabel inconsistensies

Open
#446 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
854
Forks
302
PR merge metrics
No merged PRs in 30d

Description

The methods `glObjectPtrLabel` and `glObjectPtrLabelKHR` are inconsistent with whats defined in the documentation on several points.

[https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glObjectPtrLabel.xhtml](https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glObjectPtrLabel.xhtml)

ptr parameter is defined as const void* in the spec while its defined as void * (without the const) in the documentation.
ptr is also described as being a sync object in the documentation while its type is still a void*

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing the glObjectPtrLabel and glObjectPtrLabelKHR definitions with the linked Khronos reference page and the documented OpenGL specification. Update the ptr constness and its description so they agree with the specification, then verify both methods are consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.