summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/teximage.h
diff options
context:
space:
mode:
authorLaura Ekstrand <laura@jlekstrand.net>2015-03-04 14:31:29 -0800
committerLaura Ekstrand <laura@jlekstrand.net>2015-03-09 13:33:54 -0700
commit6b78a1fb89670fd050747c79a20ecb1b2cd2dc2e (patch)
treec48215c093f0cb8a3f84eec555760e07ed86b4d6 /src/mesa/main/teximage.h
parentd03337306a59ec7a9c1b4bd37856a95c40c1c801 (diff)
downloadexternal_mesa3d-6b78a1fb89670fd050747c79a20ecb1b2cd2dc2e.zip
external_mesa3d-6b78a1fb89670fd050747c79a20ecb1b2cd2dc2e.tar.gz
external_mesa3d-6b78a1fb89670fd050747c79a20ecb1b2cd2dc2e.tar.bz2
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 <anuj.phogat@gmail.com>
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 9468650..db6b648 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);
/*@}*/