From 6b78a1fb89670fd050747c79a20ecb1b2cd2dc2e Mon Sep 17 00:00:00 2001 From: Laura Ekstrand Date: Wed, 4 Mar 2015 14:31:29 -0800 Subject: main: Refactor _mesa_texture_buffer_range. Changes how the caller is identified in error messages, moves a check for ARB_texture_buffer_object from the entry points to the shared code in _mesa_texture_buffer_range, and removes an unused argument (GLenum target). v2: Review from Anuj Phogat - Split rebase of Tex[ture]Buffer[Range] Reviewed-by: Anuj Phogat --- src/mesa/main/teximage.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/main/teximage.h') diff --git a/src/mesa/main/teximage.h b/src/mesa/main/teximage.h index 9468650f519..db6b6485a99 100644 --- a/src/mesa/main/teximage.h +++ b/src/mesa/main/teximage.h @@ -209,11 +209,11 @@ _mesa_texture_image_multisample(struct gl_context *ctx, GLuint dims, extern void _mesa_texture_buffer_range(struct gl_context *ctx, - struct gl_texture_object *texObj, GLenum target, + struct gl_texture_object *texObj, GLenum internalFormat, struct gl_buffer_object *bufObj, - GLintptr offset, GLsizeiptr size, bool range, - bool dsa); + GLintptr offset, GLsizeiptr size, + const char *caller); /*@}*/ -- cgit v1.2.3