KhronosGroup / OpenGL-API

OpenGL and OpenGL ES API Issue Tracker
34 stars 5 forks source link

mismatch on glFramebufferRenderbuffer attachment argument group #72

Closed devel0 closed 4 years ago

devel0 commented 4 years ago

from spec of glFramebufferRenderbuffer attachment group is FramebufferAttachment

<command>
    <proto>void <name>glFramebufferRenderbuffer</name></proto>
    <param group="FramebufferTarget"><ptype>GLenum</ptype> <name>target</name></param>
    <param group="FramebufferAttachment"><ptype>GLenum</ptype> <name>attachment</name></param>
    <param group="RenderbufferTarget"><ptype>GLenum</ptype> <name>renderbuffertarget</name></param>
    <param><ptype>GLuint</ptype> <name>renderbuffer</name></param>
    <glx type="render" opcode="4324"/>
</command>

but this haven't GL_DEPTH_ATTACHMENT that is referred to a deprecated InvalidateFramebufferAttachment.

<enum value="0x8D00" name="GL_DEPTH_ATTACHMENT" group="InvalidateFramebufferAttachment"/>

But as stated from current documentation should included.

I think that FramebufferAttachment should used as group in related enum included GL_DEPTH_ATTACHMENT too.

pdaniell-nv commented 4 years ago

Would you like to propose a fix for this?

devel0 commented 4 years ago

Sure PR https://github.com/KhronosGroup/OpenGL-Registry/pull/412

pdaniell-nv commented 4 years ago

https://github.com/KhronosGroup/OpenGL-Registry/pull/412 has been merged, closing.