egl/surfaceless: don't check the mask(s) prior to calling dri2_add_config
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 16 Aug 2016 16:56:34 +0000 (17:56 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 14 Oct 2016 11:41:43 +0000 (12:41 +0100)
commitd0155bcbe8eada0386275c382a4b0421dc8418f6
treecb160ff70096b330b521ea1b1e68793af5f2927f
parentff700f8c22c6c51e7c591c481ef3d91a5c16f340
egl/surfaceless: don't check the mask(s) prior to calling dri2_add_config

The latter already does it for us.

As we're here annotate the masks as const and use unsigned for the
index(es).

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
src/egl/drivers/dri2/platform_surfaceless.c