[Mesa-dev] [PATCH 1/2] egl: drop _eglInitImage() return type

Emil Velikov emil.l.velikov at gmail.com
Mon Jun 26 11:55:50 UTC 2017


On 20 June 2017 at 17:05, Eric Engestrom <eric.engestrom at imgtec.com> wrote:
> On Tuesday, 2017-06-20 16:04:47 +0100, Emil Velikov wrote:
>> From: Emil Velikov <emil.velikov at collabora.com>
>>
>> Function cannot fail and always returns true.
>>
>> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
>
> Both patches are:
> Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
>
>> ---
>> We could even inline it in the header if people prefer.
>
> Good idea. I just checked that the deref it makes depends on a struct
> defined before the function prototype in the header, so a trivial
> replace of the prototype with a static inline should work; consider it
> r-b'ed as well :)
>
Thanks - squashed, double-checked it doesn't break the world and pushed.

-Emil


More information about the mesa-dev mailing list