[Mesa-dev] [PATCH 03/21] GL: Correct function arguments for NamedBufferStorage.
Ian Romanick
idr at freedesktop.org
Wed Jan 21 18:03:08 PST 2015
On 01/21/2015 05:40 PM, Laura Ekstrand wrote:
> ---
> include/GL/glext.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/GL/glext.h b/include/GL/glext.h
> index 88505b0..1ffe576 100644
> --- a/include/GL/glext.h
> +++ b/include/GL/glext.h
> @@ -2735,7 +2735,7 @@ GLAPI void APIENTRY glGetTransformFeedbackiv (GLuint xfb, GLenum pname, GLint *p
> GLAPI void APIENTRY glGetTransformFeedbacki_v (GLuint xfb, GLenum pname, GLuint index, GLint *param);
> GLAPI void APIENTRY glGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
> GLAPI void APIENTRY glCreateBuffers (GLsizei n, GLuint *buffers);
> -GLAPI void APIENTRY glNamedBufferStorage (GLuint buffer, GLsizei size, const void *data, GLbitfield flags);
> +GLAPI void APIENTRY glNamedBufferStorage (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
We can't land changes to the upstream header. I submitted a bug to
Khronos, but there has been no progress. If there are apps (or drivers)
shipping this extension, we may have to change the spec to GLsizei.
I'll poke again...
> GLAPI void APIENTRY glNamedBufferData (GLuint buffer, GLsizei size, const void *data, GLenum usage);
> GLAPI void APIENTRY glNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizei size, const void *data);
> GLAPI void APIENTRY glCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizei size);
>
More information about the mesa-dev
mailing list