tests/gl_basic_test: fix SURFACELESS_EGL only build
commit5da58d8624b77d9b76cf2debc34d49d7f9a72d24
authorAlexey Brodkin <abrodkin@synopsys.com>
Wed, 25 Mar 2020 15:01:22 +0000 (25 15:01 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 4 May 2020 17:18:38 +0000 (4 18:18 +0100)
treefefdcc1140f36d53dea5935e20cc7b7f16746eb3
parentc752878a5a065e5f2b9234e970cbac3635a58b25
tests/gl_basic_test: fix SURFACELESS_EGL only build

If the only platform selected is surfaceless_egl
test_gl_basic_glesX_fwdcompat is not defined which make compiler unhappy

--------------------------------------->8-------------------------------
.../gl_basic_test.c:581:24: error:
'test_gl_basic_gles2_fwdcompat' undeclared (first use in this function);
did you mean 'test_gl_basic_gles1_fwdcompat'?

unit_test_make(test_gl_basic_gles2_fwdcompat),
^
--------------------------------------->8-------------------------------

Not really sure to which extent fwdcompact is supported in
surfaceless_egl but an educated guess is it's pretty much the same as
for GBM.

Fixes: 19a126d ("tests/gl_basic_test: Support platform surfaceless_egl")
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
[emil: keep the typo separate commit]
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
tests/functional/gl_basic_test.c