testsuite: Tweak the offload tests

We set GDK_DEBUG=force-offload now, so we can look at the actual
offload status.
This commit is contained in:
Matthias Clasen
2024-04-21 11:55:55 -04:00
parent 4b0d17b332
commit a05dbff2c9

View File

@@ -196,10 +196,7 @@ collect_offload_info (GdkSurface *surface,
else
g_snprintf (above, sizeof (above), "-");
/* NOTE: We look at can_offload here, not is_offloaded, since we don't have
* dmabuf textures here, so attaching them to subsurfaces won't succeed.
*/
if (info->can_offload)
if (info->is_offloaded)
{
g_string_append_printf (s, "%u: offloaded, %s%sabove: %s, ",
i,