aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.h
diff options
context:
space:
mode:
authorLaura Ekstrand <[email protected]>2015-03-04 14:31:29 -0800
committerLaura Ekstrand <[email protected]>2015-03-09 13:33:54 -0700
commit6b78a1fb89670fd050747c79a20ecb1b2cd2dc2e (patch)
treec48215c093f0cb8a3f84eec555760e07ed86b4d6 /src/mesa/main/teximage.h
parentd03337306a59ec7a9c1b4bd37856a95c40c1c801 (diff)
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 <[email protected]>
Diffstat (limited to 'src/mesa/main/teximage.h')
-rw-r--r--src/mesa/main/teximage.h6
1 files changed, 3 insertions, 3 deletions
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);
/*@}*/