chiark / gitweb /
terminal/drm: provide pipe->target() callback
[elogind.git] / src / libsystemd-terminal / grdev.c
index aaac06ec3435eddd9c609cdfc6ad1b5a7723ae11..bbc45afad48a11ede0454c2d7a02e10d7cb7253f 100644 (file)
@@ -382,6 +382,8 @@ const grdev_display_target *grdev_display_next_target(grdev_display *display, co
                 if (!(fb = pipe->back)) {
                         if (!pipe->vtable->target || !(fb = pipe->vtable->target(pipe)))
                                 continue;
+
+                        assert(fb == pipe->back);
                 }
 
                 /* if back-buffer is up-to-date, schedule flip */