[Buildroot] [PATCH v2] package/sunxi-mali: fix conflicting data types between GLES2/gl2.h and GLES/gl.h

Romain Naour romain.naour at gmail.com
Fri Jun 9 19:57:07 UTC 2017


Hi Thomas,

Le 08/06/2017 à 22:05, Thomas Petazzoni a écrit :
> Hello,
> 
> On Mon,  5 Jun 2017 17:45:18 +0200, Romain Naour wrote:
>> When OpenGL ES 1.1 and OpenGL ES 2.0 are used at the same time, the
>> build fail since GLintptr and GLsizeiptr data type are not the same in
>> GLES2/gl2.h and GLES/gl.h.
>>
>> Also sync the data type of GLbyte, GLubyte, GLfloat, GLclampf and
>> GLfixed.
>>
>> Fixes:
>> http://autobuild.buildroot.net/results/258/25898b45cefde9661d8ac87dd84bc883bb5283d1
>>
>> Signed-off-by: Romain Naour <romain.naour at gmail.com>
>> Cc: Spenser Gilliland <spenser at gillilanding.com>
>> ---
>> v2: fix a typo in title
>>     Also change all remaining data type (Thomas)
>> ---
>>  ...ting-data-types-between-GLES2-gl2.h-and-G.patch | 57 ++++++++++++++++++++++
>>  1 file changed, 57 insertions(+)
>>  create mode 100644 package/sunxi-mali/0003-fix-conflicting-data-types-between-GLES2-gl2.h-and-G.patch
> 
> Applied to master, thanks. Please submit upstream, it's easy, just open
> a pull request on the github project.

Well, upstream github seems dead... see the pull request from Rahul Bedarkar
from 2014 [1].

But ok, done [2].

Best regards,
Romain

[1] https://github.com/linux-sunxi/sunxi-mali/pull/8
[2] https://github.com/linux-sunxi/sunxi-mali/pull/19

> 
> Thanks,
> 
> Thomas
> 



More information about the buildroot mailing list