diff --git a/src/templates/org/lwjgl/opengl/APPLE_object_purgeable.java b/src/templates/org/lwjgl/opengl/APPLE_object_purgeable.java index 4cfb1839..438c972b 100644 --- a/src/templates/org/lwjgl/opengl/APPLE_object_purgeable.java +++ b/src/templates/org/lwjgl/opengl/APPLE_object_purgeable.java @@ -75,7 +75,7 @@ public interface APPLE_object_purgeable { @Alternate("glGetObjectParameterivAPPLE") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetObjectParameterivAPPLE2(@GLenum int objectType, @GLuint int name, @GLenum int pname, @OutParameter IntBuffer params); } \ No newline at end of file diff --git a/src/templates/org/lwjgl/opengl/ARB_buffer_object.java b/src/templates/org/lwjgl/opengl/ARB_buffer_object.java index 7302fb6a..840ebf81 100644 --- a/src/templates/org/lwjgl/opengl/ARB_buffer_object.java +++ b/src/templates/org/lwjgl/opengl/ARB_buffer_object.java @@ -144,7 +144,7 @@ public interface ARB_buffer_object { @Alternate("glGetBufferParameterivARB") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetBufferParameterivARB2(@GLenum int target, @GLenum int pname, @OutParameter IntBuffer params); @StripPostfix("pointer") diff --git a/src/templates/org/lwjgl/opengl/ARB_framebuffer_no_attachments.java b/src/templates/org/lwjgl/opengl/ARB_framebuffer_no_attachments.java index 2017a291..6efe5c3f 100644 --- a/src/templates/org/lwjgl/opengl/ARB_framebuffer_no_attachments.java +++ b/src/templates/org/lwjgl/opengl/ARB_framebuffer_no_attachments.java @@ -72,7 +72,7 @@ public interface ARB_framebuffer_no_attachments { @Reuse("GL43") @Alternate("glGetFramebufferParameteriv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetFramebufferParameteriv2(@GLenum int target, @GLenum int pname, @OutParameter IntBuffer params); @Dependent("GL_EXT_direct_state_access") diff --git a/src/templates/org/lwjgl/opengl/ARB_framebuffer_object.java b/src/templates/org/lwjgl/opengl/ARB_framebuffer_object.java index 6f996047..fc479297 100644 --- a/src/templates/org/lwjgl/opengl/ARB_framebuffer_object.java +++ b/src/templates/org/lwjgl/opengl/ARB_framebuffer_object.java @@ -223,7 +223,7 @@ public interface ARB_framebuffer_object { @Reuse("GL30") @Alternate("glGetRenderbufferParameteriv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetRenderbufferParameteriv2(@GLenum int target, @GLenum int pname, @OutParameter IntBuffer params); @Reuse("GL30") @@ -280,7 +280,7 @@ public interface ARB_framebuffer_object { @Reuse("GL30") @Alternate("glGetFramebufferAttachmentParameteriv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetFramebufferAttachmentParameteriv2(@GLenum int target, @GLenum int attachment, @GLenum int pname, @OutParameter IntBuffer params); diff --git a/src/templates/org/lwjgl/opengl/ARB_internalformat_query2.java b/src/templates/org/lwjgl/opengl/ARB_internalformat_query2.java index a2aeab26..af2f9f2a 100644 --- a/src/templates/org/lwjgl/opengl/ARB_internalformat_query2.java +++ b/src/templates/org/lwjgl/opengl/ARB_internalformat_query2.java @@ -180,7 +180,7 @@ public interface ARB_internalformat_query2 { @Reuse("GL43") @Alternate("glGetInternalformati64v") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetInternalformati64v2(@GLenum int target, @GLenum int internalformat, @GLenum int pname, @Constant("1") @GLsizei int bufSize, @OutParameter @GLint64 LongBuffer params); diff --git a/src/templates/org/lwjgl/opengl/ARB_occlusion_query.java b/src/templates/org/lwjgl/opengl/ARB_occlusion_query.java index ebb4bc00..7a69fa18 100644 --- a/src/templates/org/lwjgl/opengl/ARB_occlusion_query.java +++ b/src/templates/org/lwjgl/opengl/ARB_occlusion_query.java @@ -81,7 +81,7 @@ public interface ARB_occlusion_query { @Alternate("glGetQueryivARB") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetQueryivARB2(@GLenum int target, @GLenum int pname, @OutParameter IntBuffer params); @StripPostfix("params") diff --git a/src/templates/org/lwjgl/opengl/ARB_program.java b/src/templates/org/lwjgl/opengl/ARB_program.java index eb538d22..8bd81895 100644 --- a/src/templates/org/lwjgl/opengl/ARB_program.java +++ b/src/templates/org/lwjgl/opengl/ARB_program.java @@ -173,13 +173,13 @@ public interface ARB_program { @Alternate("glGetProgramivARB") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetProgramivARB2(@GLenum int target, @GLenum int parameterName, @OutParameter IntBuffer params); void glGetProgramStringARB(@GLenum int target, @GLenum int parameterName, @OutParameter @Check @GLbyte Buffer paramString); @Alternate("glGetProgramStringARB") - @Code("\t\tint programLength = glGetProgramARB(target, GL_PROGRAM_LENGTH_ARB);") + @Code("\t\tint programLength = glGetProgramiARB(target, GL_PROGRAM_LENGTH_ARB);") @GLreturn(value="paramString", maxLength = "programLength", forceMaxLength = true) void glGetProgramStringARB2(@GLenum int target, @GLenum int parameterName, @OutParameter @GLchar ByteBuffer paramString); diff --git a/src/templates/org/lwjgl/opengl/ARB_program_interface_query.java b/src/templates/org/lwjgl/opengl/ARB_program_interface_query.java index 3cf333c8..4a0d0233 100644 --- a/src/templates/org/lwjgl/opengl/ARB_program_interface_query.java +++ b/src/templates/org/lwjgl/opengl/ARB_program_interface_query.java @@ -105,7 +105,7 @@ public interface ARB_program_interface_query { @Reuse("GL43") @Alternate("glGetProgramInterfaceiv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetProgramInterfaceiv2(@GLuint int program, @GLenum int programInterface, @GLenum int pname, @OutParameter IntBuffer params); diff --git a/src/templates/org/lwjgl/opengl/ARB_separate_shader_objects.java b/src/templates/org/lwjgl/opengl/ARB_separate_shader_objects.java index f013e746..7210b54f 100644 --- a/src/templates/org/lwjgl/opengl/ARB_separate_shader_objects.java +++ b/src/templates/org/lwjgl/opengl/ARB_separate_shader_objects.java @@ -134,7 +134,7 @@ public interface ARB_separate_shader_objects { @Reuse("GL41") @Alternate("glGetProgramPipelineiv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetProgramPipelineiv2(@GLuint int pipeline, @GLenum int pname, @OutParameter IntBuffer params); @Reuse("GL41") diff --git a/src/templates/org/lwjgl/opengl/ARB_shader_subroutine.java b/src/templates/org/lwjgl/opengl/ARB_shader_subroutine.java index bcf2ca6e..8587b12e 100644 --- a/src/templates/org/lwjgl/opengl/ARB_shader_subroutine.java +++ b/src/templates/org/lwjgl/opengl/ARB_shader_subroutine.java @@ -115,7 +115,7 @@ public interface ARB_shader_subroutine { @Reuse("GL40") @Alternate("glGetUniformSubroutineuiv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetUniformSubroutineuiv2(@GLenum int shadertype, int location, @OutParameter @GLuint IntBuffer params); @Reuse("GL40") diff --git a/src/templates/org/lwjgl/opengl/ARB_sync.java b/src/templates/org/lwjgl/opengl/ARB_sync.java index 49e7d485..e77c410e 100644 --- a/src/templates/org/lwjgl/opengl/ARB_sync.java +++ b/src/templates/org/lwjgl/opengl/ARB_sync.java @@ -97,7 +97,7 @@ public interface ARB_sync { @Reuse("GL32") @Alternate("glGetInteger64v") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetInteger64v2(@GLenum int pname, @OutParameter @GLint64 LongBuffer params); @Reuse("GL32") diff --git a/src/templates/org/lwjgl/opengl/ARB_timer_query.java b/src/templates/org/lwjgl/opengl/ARB_timer_query.java index 0f8e79e0..3deca943 100644 --- a/src/templates/org/lwjgl/opengl/ARB_timer_query.java +++ b/src/templates/org/lwjgl/opengl/ARB_timer_query.java @@ -63,7 +63,7 @@ public interface ARB_timer_query { @Reuse("GL33") @Alternate("glGetQueryObjecti64v") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetQueryObjecti64v2(@GLuint int id, @GLenum int pname, @OutParameter @GLint64 LongBuffer params); @Reuse("GL33") @@ -73,7 +73,7 @@ public interface ARB_timer_query { @Reuse("GL33") @Alternate("glGetQueryObjectui64v") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetQueryObjectui64v2(@GLuint int id, @GLenum int pname, @OutParameter @GLuint64 LongBuffer params); } \ No newline at end of file diff --git a/src/templates/org/lwjgl/opengl/ARB_transform_feedback3.java b/src/templates/org/lwjgl/opengl/ARB_transform_feedback3.java index fadc002f..ea09687a 100644 --- a/src/templates/org/lwjgl/opengl/ARB_transform_feedback3.java +++ b/src/templates/org/lwjgl/opengl/ARB_transform_feedback3.java @@ -65,7 +65,7 @@ public interface ARB_transform_feedback3 { @Reuse("GL40") @Alternate("glGetQueryIndexediv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetQueryIndexediv2(@GLenum int target, @GLuint int index, @GLenum int pname, @OutParameter IntBuffer params); } \ No newline at end of file diff --git a/src/templates/org/lwjgl/opengl/ARB_uniform_buffer_object.java b/src/templates/org/lwjgl/opengl/ARB_uniform_buffer_object.java index 3711a43e..6dfde51a 100644 --- a/src/templates/org/lwjgl/opengl/ARB_uniform_buffer_object.java +++ b/src/templates/org/lwjgl/opengl/ARB_uniform_buffer_object.java @@ -121,7 +121,7 @@ public interface ARB_uniform_buffer_object { @Reuse("GL31") @Alternate("glGetActiveUniformsiv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetActiveUniformsiv(@GLuint int program, @Constant("1") @GLsizei int uniformCount, @Constant(value = "params.put(1, uniformIndex), 1", keepParam = true) int uniformIndex, // Reuse params buffer @GLenum int pname, @@ -156,7 +156,7 @@ public interface ARB_uniform_buffer_object { @Reuse("GL31") @Alternate("glGetActiveUniformBlockiv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetActiveUniformBlockiv2(@GLuint int program, @GLuint int uniformBlockIndex, @GLenum int pname, @OutParameter @GLint IntBuffer params); diff --git a/src/templates/org/lwjgl/opengl/ATI_vertex_array_object.java b/src/templates/org/lwjgl/opengl/ATI_vertex_array_object.java index bde828c6..2fc8a232 100644 --- a/src/templates/org/lwjgl/opengl/ATI_vertex_array_object.java +++ b/src/templates/org/lwjgl/opengl/ATI_vertex_array_object.java @@ -75,7 +75,7 @@ public interface ATI_vertex_array_object { @Alternate("glGetObjectBufferivATI") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetObjectBufferivATI2(@GLuint int buffer, @GLenum int pname, @OutParameter IntBuffer params); void glFreeObjectBufferATI(@GLuint int buffer); diff --git a/src/templates/org/lwjgl/opengl/EXT_framebuffer_object.java b/src/templates/org/lwjgl/opengl/EXT_framebuffer_object.java index b831eb81..c86c48d0 100644 --- a/src/templates/org/lwjgl/opengl/EXT_framebuffer_object.java +++ b/src/templates/org/lwjgl/opengl/EXT_framebuffer_object.java @@ -151,7 +151,7 @@ public interface EXT_framebuffer_object { @Alternate("glGetRenderbufferParameterivEXT") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetRenderbufferParameterivEXT2(@GLenum int target, @GLenum int pname, @OutParameter IntBuffer params); boolean glIsFramebufferEXT(@GLuint int framebuffer); @@ -185,7 +185,7 @@ public interface EXT_framebuffer_object { @Alternate("glGetFramebufferAttachmentParameterivEXT") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetFramebufferAttachmentParameterivEXT2(@GLenum int target, @GLenum int attachment, @GLenum int pname, @OutParameter IntBuffer params); void glGenerateMipmapEXT(@GLenum int target); diff --git a/src/templates/org/lwjgl/opengl/GL15.java b/src/templates/org/lwjgl/opengl/GL15.java index bb78c046..ae7d812a 100644 --- a/src/templates/org/lwjgl/opengl/GL15.java +++ b/src/templates/org/lwjgl/opengl/GL15.java @@ -169,7 +169,7 @@ public interface GL15 { @Alternate("glGetBufferParameteriv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetBufferParameteriv2(@GLenum int target, @GLenum int pname, @OutParameter IntBuffer params); @StripPostfix("pointer") @@ -219,7 +219,7 @@ public interface GL15 { @Alternate("glGetQueryiv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetQueryiv2(@GLenum int target, @GLenum int pname, @OutParameter IntBuffer params); @StripPostfix("params") diff --git a/src/templates/org/lwjgl/opengl/GL20.java b/src/templates/org/lwjgl/opengl/GL20.java index 909e8e7f..4aa687b8 100644 --- a/src/templates/org/lwjgl/opengl/GL20.java +++ b/src/templates/org/lwjgl/opengl/GL20.java @@ -191,7 +191,7 @@ public interface GL20 { @Alternate("glGetShaderiv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetShaderiv2(@GLuint int shader, @GLenum int pname, @OutParameter IntBuffer params); @StripPostfix("params") @@ -199,7 +199,7 @@ public interface GL20 { @Alternate("glGetProgramiv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetProgramiv2(@GLuint int program, @GLenum int pname, @OutParameter IntBuffer params); void glGetShaderInfoLog(@GLuint int shader, @AutoSize("infoLog") @GLsizei int maxLength, diff --git a/src/templates/org/lwjgl/opengl/GL30.java b/src/templates/org/lwjgl/opengl/GL30.java index f750da8c..2de283ff 100644 --- a/src/templates/org/lwjgl/opengl/GL30.java +++ b/src/templates/org/lwjgl/opengl/GL30.java @@ -543,7 +543,7 @@ public interface GL30 { @Alternate("glGetRenderbufferParameteriv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetRenderbufferParameteriv2(@GLenum int target, @GLenum int pname, @OutParameter IntBuffer params); boolean glIsFramebuffer(@GLuint int framebuffer); @@ -577,7 +577,7 @@ public interface GL30 { @Alternate("glGetFramebufferAttachmentParameteriv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetFramebufferAttachmentParameteriv2(@GLenum int target, @GLenum int attachment, @GLenum int pname, @OutParameter IntBuffer params); void glGenerateMipmap(@GLenum int target); diff --git a/src/templates/org/lwjgl/opengl/GL31.java b/src/templates/org/lwjgl/opengl/GL31.java index 2592477f..85b3205e 100644 --- a/src/templates/org/lwjgl/opengl/GL31.java +++ b/src/templates/org/lwjgl/opengl/GL31.java @@ -253,7 +253,7 @@ public interface GL31 { @Alternate("glGetActiveUniformsiv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetActiveUniformsiv(@GLuint int program, @Constant("1") @GLsizei int uniformCount, @Constant(value = "MemoryUtil.getAddress(params.put(1, uniformIndex), 1)", keepParam = true) int uniformIndex, // Reuse params buffer @GLenum int pname, @@ -282,7 +282,7 @@ public interface GL31 { @Alternate("glGetActiveUniformBlockiv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetActiveUniformBlockiv2(@GLuint int program, @GLuint int uniformBlockIndex, @GLenum int pname, @OutParameter @GLint IntBuffer params); diff --git a/src/templates/org/lwjgl/opengl/GL32.java b/src/templates/org/lwjgl/opengl/GL32.java index 2c53e631..3be2af6b 100644 --- a/src/templates/org/lwjgl/opengl/GL32.java +++ b/src/templates/org/lwjgl/opengl/GL32.java @@ -59,7 +59,7 @@ public interface GL32 { @Alternate("glGetBufferParameteri64v") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetBufferParameteri64v2(@GLenum int target, @GLenum int pname, @OutParameter LongBuffer params); // --------------------------------------------------------------------- @@ -338,7 +338,7 @@ public interface GL32 { @Alternate("glGetSynciv") @GLreturn("values") - @StripPostfix("values") + @StripPostfix(value = "values", postfix = "v") void glGetSynciv2(@PointerWrapper("GLsync") GLSync sync, @GLenum int pname, @Constant("1") @GLsizei int bufSize, @OutParameter @GLsizei @Constant("0L") IntBuffer length, @OutParameter IntBuffer values); diff --git a/src/templates/org/lwjgl/opengl/GL33.java b/src/templates/org/lwjgl/opengl/GL33.java index d97685a0..6cebe65d 100644 --- a/src/templates/org/lwjgl/opengl/GL33.java +++ b/src/templates/org/lwjgl/opengl/GL33.java @@ -211,7 +211,7 @@ public interface GL33 { @Alternate("glGetQueryObjecti64v") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetQueryObjecti64v2(@GLuint int id, @GLenum int pname, @OutParameter @GLint64 LongBuffer params); @StripPostfix("params") @@ -219,7 +219,7 @@ public interface GL33 { @Alternate("glGetQueryObjectui64v") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetQueryObjectui64v2(@GLuint int id, @GLenum int pname, @OutParameter @GLuint64 LongBuffer params); // -------------------------------------------------------------------- diff --git a/src/templates/org/lwjgl/opengl/GL40.java b/src/templates/org/lwjgl/opengl/GL40.java index 22d92bd6..7d25a671 100644 --- a/src/templates/org/lwjgl/opengl/GL40.java +++ b/src/templates/org/lwjgl/opengl/GL40.java @@ -227,7 +227,7 @@ public interface GL40 { @Alternate("glGetActiveSubroutineUniformiv") @GLreturn("values") - @StripPostfix("values") + @StripPostfix(value = "values", postfix = "v") void glGetActiveSubroutineUniformiv2(@GLuint int program, @GLenum int shadertype, @GLuint int index, @GLenum int pname, @OutParameter IntBuffer values); @@ -259,7 +259,7 @@ public interface GL40 { @Alternate("glGetUniformSubroutineuiv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetUniformSubroutineuiv2(@GLenum int shadertype, int location, @OutParameter @GLuint IntBuffer params); @StripPostfix("values") @@ -267,7 +267,7 @@ public interface GL40 { @Alternate("glGetProgramStageiv") @GLreturn("values") - @StripPostfix("values") + @StripPostfix(value = "values", postfix = "v") void glGetProgramStageiv2(@GLuint int program, @GLenum int shadertype, @GLenum int pname, @OutParameter IntBuffer values); // ----------------------------------------------------------------------- @@ -448,7 +448,7 @@ public interface GL40 { @Alternate("glGetQueryIndexediv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetQueryIndexediv2(@GLenum int target, @GLuint int index, @GLenum int pname, @OutParameter IntBuffer params); } \ No newline at end of file diff --git a/src/templates/org/lwjgl/opengl/GL41.java b/src/templates/org/lwjgl/opengl/GL41.java index c2d2017e..012eef9e 100644 --- a/src/templates/org/lwjgl/opengl/GL41.java +++ b/src/templates/org/lwjgl/opengl/GL41.java @@ -188,7 +188,7 @@ public interface GL41 { @Alternate("glGetProgramPipelineiv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetProgramPipelineiv2(@GLuint int pipeline, @GLenum int pname, @OutParameter IntBuffer params); void glProgramUniform1i(@GLuint int program, int location, int v0); diff --git a/src/templates/org/lwjgl/opengl/GL43.java b/src/templates/org/lwjgl/opengl/GL43.java index ceca87a5..bd47bcd8 100644 --- a/src/templates/org/lwjgl/opengl/GL43.java +++ b/src/templates/org/lwjgl/opengl/GL43.java @@ -393,7 +393,7 @@ public interface GL43 { @Alternate("glGetFramebufferParameteriv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetFramebufferParameteriv2(@GLenum int target, @GLenum int pname, @OutParameter IntBuffer params); // ----------------------------------------------------------------------------- @@ -536,7 +536,7 @@ public interface GL43 { @Alternate("glGetInternalformati64v") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetInternalformati64v2(@GLenum int target, @GLenum int internalformat, @GLenum int pname, @Constant("1") @GLsizei int bufSize, @OutParameter @GLint64 LongBuffer params); @@ -658,7 +658,7 @@ public interface GL43 { @Alternate("glGetProgramInterfaceiv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetProgramInterfaceiv2(@GLuint int program, @GLenum int programInterface, @GLenum int pname, @OutParameter IntBuffer params); diff --git a/src/templates/org/lwjgl/opengl/NV_present_video.java b/src/templates/org/lwjgl/opengl/NV_present_video.java index 3c1d0d1e..17a25749 100644 --- a/src/templates/org/lwjgl/opengl/NV_present_video.java +++ b/src/templates/org/lwjgl/opengl/NV_present_video.java @@ -86,7 +86,7 @@ public interface NV_present_video { @Alternate("glGetVideoivNV") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetVideoivNV2(@GLuint int video_slot, @GLenum int pname, @OutParameter IntBuffer params); @StripPostfix("params") @@ -94,7 +94,7 @@ public interface NV_present_video { @Alternate("glGetVideouivNV") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetVideouivNV2(@GLuint int video_slot, @GLenum int pname, @OutParameter @GLuint IntBuffer params); @StripPostfix("params") diff --git a/src/templates/org/lwjgl/opengl/NV_program.java b/src/templates/org/lwjgl/opengl/NV_program.java index 5448edf5..eaf0f7e9 100644 --- a/src/templates/org/lwjgl/opengl/NV_program.java +++ b/src/templates/org/lwjgl/opengl/NV_program.java @@ -82,13 +82,13 @@ public interface NV_program { @Alternate("glGetProgramivNV") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetProgramivNV2(@GLuint int programID, @GLenum int parameterName, @OutParameter @GLint IntBuffer params); void glGetProgramStringNV(@GLuint int programID, @GLenum int parameterName, @OutParameter @Check @GLubyte Buffer paramString); @Alternate("glGetProgramStringNV") - @Code("\t\tint programLength = glGetProgramNV(programID, GL_PROGRAM_LENGTH_NV);") + @Code("\t\tint programLength = glGetProgramiNV(programID, GL_PROGRAM_LENGTH_NV);") @GLreturn(value="paramString", maxLength = "programLength", forceMaxLength = true) void glGetProgramStringNV2(@GLuint int programID, @GLenum int parameterName, @OutParameter @GLchar ByteBuffer paramString); diff --git a/src/templates/org/lwjgl/opengl/NV_shader_buffer_load.java b/src/templates/org/lwjgl/opengl/NV_shader_buffer_load.java index 26d526a5..230268c7 100644 --- a/src/templates/org/lwjgl/opengl/NV_shader_buffer_load.java +++ b/src/templates/org/lwjgl/opengl/NV_shader_buffer_load.java @@ -68,7 +68,7 @@ public interface NV_shader_buffer_load { @Alternate("glGetBufferParameterui64vNV") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetBufferParameterui64vNV2(@GLenum int target, @GLenum int pname, @OutParameter @GLuint64EXT LongBuffer params); @StripPostfix("params") @@ -76,7 +76,7 @@ public interface NV_shader_buffer_load { @Alternate("glGetNamedBufferParameterui64vNV") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetNamedBufferParameterui64vNV2(@GLuint int buffer, @GLenum int pname, @OutParameter @GLuint64EXT LongBuffer params); @StripPostfix("result") @@ -84,7 +84,7 @@ public interface NV_shader_buffer_load { @Alternate("glGetIntegerui64vNV") @GLreturn("result") - @StripPostfix("result") + @StripPostfix(value = "result", postfix = "v") void glGetIntegerui64vNV2(@GLenum int value, @OutParameter @GLuint64EXT LongBuffer result); void glUniformui64NV(int location, @GLuint64EXT long value); diff --git a/src/templates/org/lwjgl/opengl/NV_vertex_buffer_unified_memory.java b/src/templates/org/lwjgl/opengl/NV_vertex_buffer_unified_memory.java index b366b27e..6039b5f6 100644 --- a/src/templates/org/lwjgl/opengl/NV_vertex_buffer_unified_memory.java +++ b/src/templates/org/lwjgl/opengl/NV_vertex_buffer_unified_memory.java @@ -107,7 +107,7 @@ public interface NV_vertex_buffer_unified_memory { @Alternate("glGetIntegerui64i_vNV") @GLreturn("result") - @StripPostfix("result") + @StripPostfix(value = "result", postfix = "i_v") void glGetIntegerui64i_vNV2(@GLenum int value, @GLuint int index, @OutParameter @GLuint64EXT LongBuffer result); } \ No newline at end of file diff --git a/src/templates/org/lwjgl/opengl/NV_video_capture.java b/src/templates/org/lwjgl/opengl/NV_video_capture.java index 0ecb7c8d..15a6948c 100644 --- a/src/templates/org/lwjgl/opengl/NV_video_capture.java +++ b/src/templates/org/lwjgl/opengl/NV_video_capture.java @@ -145,7 +145,7 @@ public interface NV_video_capture { @Alternate("glGetVideoCaptureivNV") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetVideoCaptureivNV2(@GLuint int video_capture_slot, @GLenum int pname, @OutParameter IntBuffer params); @StripPostfix("params") diff --git a/src/templates/org/lwjgl/opengles/EXT_occlusion_query_boolean.java b/src/templates/org/lwjgl/opengles/EXT_occlusion_query_boolean.java index 9d9a8bbe..96937718 100644 --- a/src/templates/org/lwjgl/opengles/EXT_occlusion_query_boolean.java +++ b/src/templates/org/lwjgl/opengles/EXT_occlusion_query_boolean.java @@ -80,7 +80,7 @@ public interface EXT_occlusion_query_boolean { @Alternate("glGetQueryivEXT") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetQueryivEXT2(@GLenum int target, @GLenum int pname, @OutParameter IntBuffer params); @StripPostfix("params") diff --git a/src/templates/org/lwjgl/opengles/EXT_separate_shader_objects.java b/src/templates/org/lwjgl/opengles/EXT_separate_shader_objects.java index 0d9800ed..46c77379 100644 --- a/src/templates/org/lwjgl/opengles/EXT_separate_shader_objects.java +++ b/src/templates/org/lwjgl/opengles/EXT_separate_shader_objects.java @@ -113,7 +113,7 @@ public interface EXT_separate_shader_objects { @Alternate("glGetProgramPipelineivEXT") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetProgramPipelineivEXT2(@GLuint int pipeline, @GLenum int pname, @OutParameter IntBuffer params); void glProgramUniform1iEXT(@GLuint int program, int location, int v0); diff --git a/src/templates/org/lwjgl/opengles/GLES20.java b/src/templates/org/lwjgl/opengles/GLES20.java index a62e4318..ae75f996 100644 --- a/src/templates/org/lwjgl/opengles/GLES20.java +++ b/src/templates/org/lwjgl/opengles/GLES20.java @@ -701,7 +701,7 @@ public interface GLES20 { @Alternate("glGetBufferParameteriv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetBufferParameteriv2(@GLenum int target, @GLenum int pname, @OutParameter IntBuffer params); @NoErrorCheck @@ -721,7 +721,7 @@ public interface GLES20 { @Alternate("glGetFramebufferAttachmentParameteriv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetFramebufferAttachmentParameteriv2(@GLenum int target, @GLenum int attachment, @GLenum int pname, @OutParameter IntBuffer params); @StripPostfix("params") @@ -737,7 +737,7 @@ public interface GLES20 { @Alternate("glGetProgramiv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetProgramiv2(@GLuint int program, @GLenum int pname, @OutParameter IntBuffer params); void glGetProgramInfoLog(@GLuint int program, @AutoSize("infoLog") @GLsizei int bufsize, @@ -755,7 +755,7 @@ public interface GLES20 { @Alternate("glGetRenderbufferParameteriv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetRenderbufferParameteriv2(@GLenum int target, @GLenum int pname, @OutParameter IntBuffer params); @StripPostfix("params") @@ -763,7 +763,7 @@ public interface GLES20 { @Alternate("glGetShaderiv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetShaderiv2(@GLuint int shader, @GLenum int pname, @OutParameter IntBuffer params); void glGetShaderInfoLog(@GLuint int shader, @AutoSize("infoLog") @GLsizei int bufsize, diff --git a/src/templates/org/lwjgl/opengles/GLES30.java b/src/templates/org/lwjgl/opengles/GLES30.java index e7204f82..e2b0e373 100644 --- a/src/templates/org/lwjgl/opengles/GLES30.java +++ b/src/templates/org/lwjgl/opengles/GLES30.java @@ -413,7 +413,7 @@ public interface GLES30 { @Alternate("glGetQueryiv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetQueryiv2(@GLenum int target, @GLenum int pname, @OutParameter IntBuffer params); @StripPostfix("params") @@ -662,7 +662,7 @@ public interface GLES30 { @Alternate("glGetActiveUniformsiv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetActiveUniformsiv(@GLuint int program, @Constant("1") @GLsizei int uniformCount, @Constant(value = "MemoryUtil.getAddress(params.put(1, uniformIndex), 1)", keepParam = true) int uniformIndex, // Reuse params buffer @GLenum int pname, @@ -681,7 +681,7 @@ public interface GLES30 { @Alternate("glGetActiveUniformBlockiv") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetActiveUniformBlockiv2(@GLuint int program, @GLuint int uniformBlockIndex, @GLenum int pname, @OutParameter @GLint IntBuffer params); @@ -742,7 +742,7 @@ public interface GLES30 { @Alternate("glGetSynciv") @GLreturn("values") - @StripPostfix("values") + @StripPostfix(value = "values", postfix = "v") void glGetSynciv2(@PointerWrapper("GLsync") GLSync sync, @GLenum int pname, @Constant("1") @GLsizei int bufSize, @OutParameter @GLsizei @Constant("0L") IntBuffer length, @OutParameter IntBuffer values); @@ -752,7 +752,7 @@ public interface GLES30 { @Alternate("glGetBufferParameteri64v") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetBufferParameteri64v2(@GLenum int target, @GLenum int pname, @OutParameter LongBuffer params); void glGenSamplers(@AutoSize("samplers") @GLsizei int count, @OutParameter @GLuint IntBuffer samplers); diff --git a/src/templates/org/lwjgl/opengles/OES_framebuffer_object.java b/src/templates/org/lwjgl/opengles/OES_framebuffer_object.java index a786b750..7d222e21 100644 --- a/src/templates/org/lwjgl/opengles/OES_framebuffer_object.java +++ b/src/templates/org/lwjgl/opengles/OES_framebuffer_object.java @@ -144,7 +144,7 @@ public interface OES_framebuffer_object { @Alternate("glGetRenderbufferParameterivOES") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetRenderbufferParameterivOES2(@GLenum int target, @GLenum int pname, @OutParameter IntBuffer params); boolean glIsFramebufferOES(@GLuint int framebuffer); @@ -174,7 +174,7 @@ public interface OES_framebuffer_object { @Alternate("glGetFramebufferAttachmentParameterivOES") @GLreturn("params") - @StripPostfix("params") + @StripPostfix(value = "params", postfix = "v") void glGetFramebufferAttachmentParameterivOES2(@GLenum int target, @GLenum int attachment, @GLenum int pname, @OutParameter IntBuffer params); void glGenerateMipmapOES(@GLenum int target);