mesa: use GLsizeiptrARB, GLintptrARB in bufferobj.c
authorBrian Paul <brianp@vmware.com>
Tue, 18 Sep 2018 03:05:04 +0000 (21:05 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 20 Sep 2018 19:20:10 +0000 (13:20 -0600)
commit35ea66a68e6c079a625eae1d4e21b3b37c158a56
treecd70a81e5abc4349d7bba4d0238764485afb3605
parent708d34d41a4b190133ec0feb49403244cafd5a7a
mesa: use GLsizeiptrARB, GLintptrARB in bufferobj.c

The function pointer declarations in dd.h for the BufferData() and
BufferSubData() use the ARB-suffixed datatypes.  This patch changes
the buffer_data_fallback() and buffer_sub_data_fallback() functions
to use those datatypes too.

This fixes a build warning when building 32-bit libraries.  Evidently,
GLsizeiptrARB and GLsizeiptr are defined differently in that situation.

All all implementations of these driver hooks use the ARB-suffixed
types.

Reviewed-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
src/mesa/main/bufferobj.c