From: Benjamin Otte Date: Sat, 15 Apr 2023 15:53:54 +0000 (+0200) Subject: testsuite: Make GLES testsuite run use GLES 2 X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~1^2~401^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b64f7050ba3dc4e4e14515d44eef606c3cd5fdcb;p=gtk4.git testsuite: Make GLES testsuite run use GLES 2 We want to support GLES 2, so make sure we test that support. Also force-disable common extensions we don't explicitly check for and don't want to accidentally use. --- diff --git a/testsuite/meson.build b/testsuite/meson.build index 2957a42d80..15c80a07f2 100644 --- a/testsuite/meson.build +++ b/testsuite/meson.build @@ -17,7 +17,10 @@ setups = [ { 'backend': 'wayland', 'if': wayland_enabled, 'is_default': true, }, { 'name': 'wayland_gles', 'backend': 'wayland', 'if': wayland_enabled, - 'env': ['GDK_DEBUG=gl-gles,default-settings'], }, + 'env': ['GDK_DEBUG=gl-gles,default-settings', + 'MESA_GLES_VERSION_OVERRIDE=2.0', + 'MESA_EXTENSION_OVERRIDE=-GL_OES_vertex_array_object', + ], }, { 'backend': 'win32', 'if': os_win32 }, { 'backend': 'broadway', 'if': broadway_enabled, }, { 'name': 'wayland_smalltexture',