diff --git a/src/templates/org/lwjgl/opengl/ARB_ES2_compatibility.java b/src/templates/org/lwjgl/opengl/ARB_ES2_compatibility.java index e754eeaa..d2e9cce2 100644 --- a/src/templates/org/lwjgl/opengl/ARB_ES2_compatibility.java +++ b/src/templates/org/lwjgl/opengl/ARB_ES2_compatibility.java @@ -65,6 +65,9 @@ public interface ARB_ES2_compatibility { GL_MEDIUM_INT = 0x8DF4, GL_HIGH_INT = 0x8DF5; + /** Accepted by the <format> parameter of most commands taking sized internal formats: */ + int GL_RGB565 = 0x8D62; + @Reuse("GL41") void glReleaseShaderCompiler(); diff --git a/src/templates/org/lwjgl/opengl/ARB_texture_compression_rgtc.java b/src/templates/org/lwjgl/opengl/ARB_texture_compression_rgtc.java index a6ada355..48305405 100644 --- a/src/templates/org/lwjgl/opengl/ARB_texture_compression_rgtc.java +++ b/src/templates/org/lwjgl/opengl/ARB_texture_compression_rgtc.java @@ -41,9 +41,9 @@ public interface ARB_texture_compression_rgtc { * CopyTexImage2D, and CompressedTexImage2D and the <format> parameter * of CompressedTexSubImage2D: */ - int GL_COMPRESSED_RED_RGTC1 = 0x8DBB; - int GL_COMPRESSED_SIGNED_RED_RGTC1 = 0x8DBC; - int GL_COMPRESSED_RED_GREEN_RGTC2 = 0x8DBD; - int GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2 = 0x8DBE; + int GL_COMPRESSED_RED_RGTC1 = 0x8DBB, + GL_COMPRESSED_SIGNED_RED_RGTC1 = 0x8DBC, + GL_COMPRESSED_RG_RGTC2 = 0x8DBD, + GL_COMPRESSED_SIGNED_RG_RGTC2 = 0x8DBE; } \ No newline at end of file diff --git a/src/templates/org/lwjgl/opengl/GL30.java b/src/templates/org/lwjgl/opengl/GL30.java index 31bfbe1b..aa48df7c 100644 --- a/src/templates/org/lwjgl/opengl/GL30.java +++ b/src/templates/org/lwjgl/opengl/GL30.java @@ -876,10 +876,10 @@ public interface GL30 { * CopyTexImage2D, and CompressedTexImage2D and the <format> parameter * of CompressedTexSubImage2D: */ - int GL_COMPRESSED_RED_RGTC1 = 0x8DBB; - int GL_COMPRESSED_SIGNED_RED_RGTC1 = 0x8DBC; - int GL_COMPRESSED_RED_GREEN_RGTC2 = 0x8DBD; - int GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2 = 0x8DBE; + int GL_COMPRESSED_RED_RGTC1 = 0x8DBB, + GL_COMPRESSED_SIGNED_RED_RGTC1 = 0x8DBC, + GL_COMPRESSED_RG_RGTC2 = 0x8DBD, + GL_COMPRESSED_SIGNED_RG_RGTC2 = 0x8DBE; // -------------------------------------------------------------- // ----------------------[ ARB_texture_rg ]---------------------- diff --git a/src/templates/org/lwjgl/opengl/GL41.java b/src/templates/org/lwjgl/opengl/GL41.java index 012eef9e..5543ca30 100644 --- a/src/templates/org/lwjgl/opengl/GL41.java +++ b/src/templates/org/lwjgl/opengl/GL41.java @@ -68,6 +68,9 @@ public interface GL41 { GL_MEDIUM_INT = 0x8DF4, GL_HIGH_INT = 0x8DF5; + /** Accepted by the <format> parameter of most commands taking sized internal formats: */ + int GL_RGB565 = 0x8D62; + void glReleaseShaderCompiler(); void glShaderBinary(@AutoSize("shaders") @GLsizei int count, @Const @GLuint IntBuffer shaders,