egl/surfaceless: print out a message on zero configs for given format
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 25 Aug 2016 12:32:41 +0000 (13:32 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 14 Oct 2016 11:53:39 +0000 (12:53 +0100)
commit23ed073aa4f87943f660edaa54b60da5a9f2dbb7
tree722bb6c7f507b0621e22ba51bf478bc106ea9d06
parent98f5d0106a8ee45e58a6bf162720da3f6f614a95
egl/surfaceless: print out a message on zero configs for given format

Currently we print a debug message if the total configs is non-zero only
to do the same (at an error level) as we return from the function.

Rework the message to print if we're missing a config for the given
format.

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