Skip to content

Commit

Permalink
fix(GL): restore GL_TEXTURE in the core profile. Close #573
Browse files Browse the repository at this point in the history
  • Loading branch information
Spasi committed Jun 20, 2020
1 parent 5bd695e commit ee4262f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/notes/3.2.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ This build includes the following changes:
- EGL: Fixed nullability of `eglInitialize` arguments.
- GLFW: Fixed main thread check. Setting `GLFW_CHECK_THREAD0` to `false` is now required for offscreen interop. (#538)
- OpenCL: Added missing `errcode_ret` parameter to `clLinkProgram`. (#560)
- OpenGL: Restored `GL_TEXTURE` in the core profile. (#573)
- Vulkan: Fixed GLFW configuration for MoltenVK. (#502)
- Vulkan: Fixed `vkGetInstanceProcAddr` to work with `null` instance arguments.
- Vulkan: Fixed unsigned arithmetic in `VK_VERSION_MAJOR` and `VK_VERSION_MINOR` macros.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ public class GL11C {
GL_NAND = 0x150E,
GL_SET = 0x150F;

/** Token accepted or provided by the {@code identifier} parameters of ObjectLabel and GetObjectLabel. */
public static final int GL_TEXTURE = 0x1702;

/** PixelCopyType */
public static final int
GL_COLOR = 0x1800,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,11 @@ val GL11C = "GL11C".nativeClassGL("GL11C") {
"SET"..0x150F
)

IntConstant(
"Token accepted or provided by the {@code identifier} parameters of ObjectLabel and GetObjectLabel.",
"TEXTURE"..0x1702
)

IntConstant(
"PixelCopyType",
"COLOR"..0x1800,
Expand Down

0 comments on commit ee4262f

Please sign in to comment.