LWJGL / lwjgl3

LWJGL is a Java library that enables cross-platform access to popular native APIs useful in the development of graphics (OpenGL, Vulkan, bgfx), audio (OpenAL, Opus), parallel computing (OpenCL, CUDA) and XR (OpenVR, LibOVR, OpenXR) applications.
https://www.lwjgl.org
BSD 3-Clause "New" or "Revised" License
4.67k stars 628 forks source link

fix(OpenGL) Added missing constant GL_BLEND_COLOR and GL_BLEND_EQUATION to GL14 #992

Open boredhuman opened 4 days ago

boredhuman commented 4 days ago

https://registry.khronos.org/OpenGL/specs/gl/glspec14.pdf https://registry.khronos.org/OpenGL/specs/gl/glspec13.pdf

From the specifications above we can see that these constants moved from being part of the arb imaging extensions to part of opengl. This can also be verified by generating headers using GLAD without extensions , for opengl 1.4 and finding these constants present in the headers.

To find these constants in the specifications consult the the state tables specifically the pixel operations table.