Re: [Mesa-dev] [PATCH 1/3] mesa: use GLsizeiptrARB, GLintptrARB in bufferobj.c

2018-09-19 Thread Mathias Fröhlich
Hi Brian, > gl.xml doesn't seem relevant to this. In GL/glext.h we have: I thought that somewere at khronos the headers are generated from the xml. And the new headers are usually imported then together with the matching xml into mesa? > typedef khronos_ssize_t GLsizeiptr; > [...] > typedef ptrd

Re: [Mesa-dev] [PATCH 1/3] mesa: use GLsizeiptrARB, GLintptrARB in bufferobj.c

2018-09-18 Thread Brian Paul
On 09/17/2018 10:32 PM, Mathias Fröhlich wrote: > Good Morning, > > On Tuesday, 18 September 2018 05:10:04 CEST Brian Paul wrote: >> The function pointer declarations in dd.h for the BufferData() and >> BufferSubData() use the ARB-suffixed datatypes. This patch changes >> the buffer_data_fallback

Re: [Mesa-dev] [PATCH 1/3] mesa: use GLsizeiptrARB, GLintptrARB in bufferobj.c

2018-09-17 Thread Mathias Fröhlich
Good Morning, On Tuesday, 18 September 2018 05:10:04 CEST Brian Paul wrote: > 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 thos

[Mesa-dev] [PATCH 1/3] mesa: use GLsizeiptrARB, GLintptrARB in bufferobj.c

2018-09-17 Thread Brian Paul
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. Evident