KhronosGroup / OpenGL-Refpages

OpenGL and OpenGL ES reference page sources, and generated HTML used as backing store for khronos.org
424 stars 131 forks source link

Declaration of atomicCompSwap is not right #139

Open chrylt opened 5 months ago

chrylt commented 5 months ago

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);

BalintCsala commented 3 months ago

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