On 26 September 2015 at 00:49, Marek Olšák <mar...@gmail.com> wrote:
> From: Marek Olšák <marek.ol...@amd.com>
>
> The spec doesn't require it. This fixes a crash on Android.
>
Nicely spotted Marek.

A couple of related (not supposed to be part of this patch) notes:
 - This will just move the crash (from libEGL to i965_dri.so) for i965
hardware :)
 - We really shouldn't be setting the flags if ctx is NULL, as per the spec.

    "If no context is
    current for the bound API, the EGL_SYNC_FLUSH_COMMANDS_BIT_KHR bit
    is ignored."

-Emil
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to