[Mesa-dev] [PATCH 1/2] egl: Convert int to attrib in eglGetPlatformDisplay

Emil Velikov emil.l.velikov at gmail.com
Fri Nov 17 15:53:15 UTC 2017


On 16 November 2017 at 18:27, Adam Jackson <ajax at redhat.com> wrote:
> ... because converting attrib to int truncates, and that's bad.
>
I seems to recall mentioning the same thing as _eglConvertIntsToAttribs
Indeed truncating is bad - fortunately we don't have a case where that matters..

With Eric's comment the patch is
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

Aside: I'll update the other similar cases and drop the truncating
helper in a second.

-Emil


More information about the mesa-dev mailing list