Hi! A discrepancy in OpenGL documentation was discovered:
The glGetInternalformat reference page says that it should return either GL_TRUE or GL_FALSE when queried for GL_FRAMEBUFFER_BLEND, but the ARB_internalformat_query2 extension page says it should return either GL_FULL_SUPPORT, GL_CAVEAT_SUPPORT, or GL_NONE.
If pname is GL_FRAMEBUFFER_BLEND, params is set to GL_TRUE to indicate that the internal format is supported for blending operations when attached to a framebuffer, and to GL_FALSE otherwise.
-- https://registry.khronos.org/OpenGL-Refpages/gl4/html/glGetInternalformat.xhtml
FRAMEBUFFER_BLEND: The support for rendering to the resource via framebuffer attachment when blending is enabled is returned in params. Possible values returned are FULL_SUPPORT, CAVEAT_SUPPORT, or NONE. If the resource is unsupported, NONE is returned.
-- https://registry.khronos.org/OpenGL/extensions/ARB/ARB_internalformat_query2.txt
While GL_FALSE and GL_NONE are equal (0), GL_FULL_SUPPORT (33463) and GL_TRUE (1) are not.
Hi! A discrepancy in OpenGL documentation was discovered:
The
glGetInternalformatreference page says that it should return eitherGL_TRUEorGL_FALSEwhen queried forGL_FRAMEBUFFER_BLEND, but theARB_internalformat_query2extension page says it should return eitherGL_FULL_SUPPORT,GL_CAVEAT_SUPPORT, orGL_NONE.While
GL_FALSEandGL_NONEare equal (0),GL_FULL_SUPPORT(33463) andGL_TRUE(1) are not.