[Mesa-dev] [PATCH] Android: fix compile error for DRI2 loader getCapability

Rob Herring robh at kernel.org
Mon Jul 31 15:21:33 UTC 2017


On Mon, Jul 31, 2017 at 9:43 AM, Marek Olšák <maraeo at gmail.com> wrote:
> Cc: 17.2 <mesa-stable at lists.freedesktop.org>

I thought this was only for master?

> Reviewed-by: Marek Olšák <marek.olsak at amd.com>
>
> Marek
>
> On Mon, Jul 31, 2017 at 4:40 PM, Rob Herring <robh at kernel.org> wrote:
>>
>> Fix compile failure from commit 1bf703e4ea5c ("dri_interface,egl,gallium:
>> only expose RGBA visuals on Android").
>>
>> Fixes: 1bf703e4ea5c ("dri_interface,egl,gallium: only expose RGBA visuals
>> on Android")
>> Cc: Marek Olšák <marek.olsak at amd.com>
>> Signed-off-by: Rob Herring <robh at kernel.org>
>> ---
>> I only got around to testing this this morning. I'll push this fix in.
>>
>>  src/egl/drivers/dri2/platform_android.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/src/egl/drivers/dri2/platform_android.c
>> b/src/egl/drivers/dri2/platform_android.c
>> index bae42412b576..50a82486956e 100644
>> --- a/src/egl/drivers/dri2/platform_android.c
>> +++ b/src/egl/drivers/dri2/platform_android.c
>> @@ -1142,7 +1142,7 @@ static const __DRIdri2LoaderExtension
>> droid_dri2_loader_extension = {
>>     .getBuffers           = NULL,
>>     .flushFrontBuffer     = droid_flush_front_buffer,
>>     .getBuffersWithFormat = droid_get_buffers_with_format,
>> -   .getCapability        = droid_get_capability;
>> +   .getCapability        = droid_get_capability,
>>  };
>>
>>  static const __DRIimageLoaderExtension droid_image_loader_extension = {
>> --
>> 2.11.0
>>
>> _______________________________________________
>> mesa-dev mailing list
>> mesa-dev at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
>


More information about the mesa-dev mailing list