From 2a20c669a45952a853ac970976059fc473d4dee9 Mon Sep 17 00:00:00 2001 From: Ioannis Tsakpinis Date: Tue, 15 Feb 2005 19:26:21 +0000 Subject: [PATCH] Misc fixes --- .../org/lwjgl/opengl/ARB_buffer_object.java | 4 ++-- .../org/lwjgl/opengl/HP_occlusion_test.java | 13 +++++++++++++ .../org/lwjgl/opengl/IBM_rasterpos_clip.java | 7 +++++++ .../org/lwjgl/opengl/NV_float_buffer.java | 18 +++++++++--------- 4 files changed, 31 insertions(+), 11 deletions(-) diff --git a/src/templates/org/lwjgl/opengl/ARB_buffer_object.java b/src/templates/org/lwjgl/opengl/ARB_buffer_object.java index 5ea26579..03073f71 100644 --- a/src/templates/org/lwjgl/opengl/ARB_buffer_object.java +++ b/src/templates/org/lwjgl/opengl/ARB_buffer_object.java @@ -107,8 +107,8 @@ public interface ARB_buffer_object { *

* ByteBuffer mapped_buffer; mapped_buffer = glMapBufferARB(..., ..., ..., null); ... // Another map on the same buffer mapped_buffer = glMapBufferARB(..., ..., ..., mapped_buffer); * - * @param size The size of the buffer area. - * @param oldBuffer A ByteBuffer. If this argument points to the same address as the new mapping, it will be returned and no new buffer will be created. In that case, size is ignored. + * @param result_size The size of the buffer area. + * @param old_buffer A ByteBuffer. If this argument points to the same address as the new mapping, it will be returned and no new buffer will be created. In that case, size is ignored. * * @return A ByteBuffer representing the mapped buffer memory. */ diff --git a/src/templates/org/lwjgl/opengl/HP_occlusion_test.java b/src/templates/org/lwjgl/opengl/HP_occlusion_test.java index 4d91b760..5ed65d73 100644 --- a/src/templates/org/lwjgl/opengl/HP_occlusion_test.java +++ b/src/templates/org/lwjgl/opengl/HP_occlusion_test.java @@ -32,4 +32,17 @@ package org.lwjgl.opengl; public interface HP_occlusion_test { + + /** + * Accepted by the parameter of Enable, Disable, and IsEnabled, by + * the of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev : + */ + int GL_OCCLUSION_TEST_HP = 0x8165; + + /** + * Accepted by the of GetBooleanv, GetIntegerv, GetFloatv, and + * GetDoublev : + */ + int GL_OCCLUSION_TEST_RESULT_HP = 0x8166; + } diff --git a/src/templates/org/lwjgl/opengl/IBM_rasterpos_clip.java b/src/templates/org/lwjgl/opengl/IBM_rasterpos_clip.java index 1e9f9f4f..a9f1b7cf 100644 --- a/src/templates/org/lwjgl/opengl/IBM_rasterpos_clip.java +++ b/src/templates/org/lwjgl/opengl/IBM_rasterpos_clip.java @@ -32,4 +32,11 @@ package org.lwjgl.opengl; public interface IBM_rasterpos_clip { + + /** + * Accepted by the parameter of Enable and Disable and the + * parameter of IsEnabled, GetBooleanv, GetIntegerv, GetFloatv, GetDoublev: + */ + int GL_RASTER_POSITION_UNCLIPPED_IBM = 103010; + } diff --git a/src/templates/org/lwjgl/opengl/NV_float_buffer.java b/src/templates/org/lwjgl/opengl/NV_float_buffer.java index acc9cb98..f61babeb 100644 --- a/src/templates/org/lwjgl/opengl/NV_float_buffer.java +++ b/src/templates/org/lwjgl/opengl/NV_float_buffer.java @@ -67,19 +67,19 @@ public interface NV_float_buffer { * wglGetPixelFormatAttribfvARB and in the and * arrays of wglChoosePixelFormatARB: */ - int GL_WGL_FLOAT_COMPONENTS_NV = 0x20B0; - int GL_WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV = 0x20B1; - int GL_WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV = 0x20B2; - int GL_WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV = 0x20B3; - int GL_WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV = 0x20B4; + int WGL_FLOAT_COMPONENTS_NV = 0x20B0; + int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV = 0x20B1; + int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV = 0x20B2; + int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV = 0x20B3; + int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV = 0x20B4; /* * Accepted in the array of wglCreatePbufferARB and returned * in the parameter of wglQueryPbufferARB when is * WGL_TEXTURE_FORMAT_ARB: */ - int GL_WGL_TEXTURE_FLOAT_R_NV = 0x20B5; - int GL_WGL_TEXTURE_FLOAT_RG_NV = 0x20B6; - int GL_WGL_TEXTURE_FLOAT_RGB_NV = 0x20B7; - int GL_WGL_TEXTURE_FLOAT_RGBA_NV = 0x20B8; + int WGL_TEXTURE_FLOAT_R_NV = 0x20B5; + int WGL_TEXTURE_FLOAT_RG_NV = 0x20B6; + int WGL_TEXTURE_FLOAT_RGB_NV = 0x20B7; + int WGL_TEXTURE_FLOAT_RGBA_NV = 0x20B8; }