main: Refactor _mesa_texture_buffer_range.
authorLaura Ekstrand <laura@jlekstrand.net>
Wed, 4 Mar 2015 22:31:29 +0000 (14:31 -0800)
committerLaura Ekstrand <laura@jlekstrand.net>
Mon, 9 Mar 2015 20:33:54 +0000 (13:33 -0700)
commit6b78a1fb89670fd050747c79a20ecb1b2cd2dc2e
treec48215c093f0cb8a3f84eec555760e07ed86b4d6
parentd03337306a59ec7a9c1b4bd37856a95c40c1c801
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>
src/mesa/main/teximage.c
src/mesa/main/teximage.h