Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declaration of atomicCompSwap is not right #139

Open
chrylt opened this issue Jan 27, 2024 · 1 comment · May be fixed by #141
Open

Declaration of atomicCompSwap is not right #139

chrylt opened this issue Jan 27, 2024 · 1 comment · May be fixed by #141

Comments

@chrylt
Copy link

chrylt commented Jan 27, 2024

On the page https://registry.khronos.org/OpenGL-Refpages/gl4/html/atomicCompSwap.xhtml

The declaration
int atomicCompSwap(inout int mem, uint compare, uint data);
should be replaced with
int atomicCompSwap(inout int mem, int compare, int data);

NogginBops added a commit to NogginBops/OpenGL-Refpages that referenced this issue Mar 16, 2024
@NogginBops NogginBops linked a pull request Mar 16, 2024 that will close this issue
@BalintCsala
Copy link

You should also fix the parameter descriptions, it only has two and the way it describes "data" is incorrect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants