tests: Skip GLSL compilation tests when GLSL not supported

This commit is contained in:
rdb 2026-01-28 22:05:30 +01:00
parent ce2332743a
commit 95875d9844
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ def run_glsl_compile_check(gsg, vert_path, frag_path, expect_fail=False):
assert shader is not None
if not gsg.supports_glsl:
expect_fail = True
pytest.skip("GLSL shaders not supported")
shader.prepare_now(gsg.prepared_objects, gsg)
assert shader.is_prepared(gsg.prepared_objects)