[mutter/gbsneto/cogl-framebuffer-object-blit] drm-buffer-gbm: Clear framebuffer with g_clear_object
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gbsneto/cogl-framebuffer-object-blit] drm-buffer-gbm: Clear framebuffer with g_clear_object
- Date: Tue, 27 Oct 2020 01:39:32 +0000 (UTC)
commit f9d5b839bd799e50cbbcd2e58d9d5eb473d79ef5
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Oct 26 22:38:33 2020 -0300
drm-buffer-gbm: Clear framebuffer with g_clear_object
Another fallout of eb14da3874fd7044c6ef6bf28bf33b1bfcc7a3a0
src/backends/native/meta-drm-buffer-gbm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/backends/native/meta-drm-buffer-gbm.c b/src/backends/native/meta-drm-buffer-gbm.c
index 2d2826b58f..7acd97bc4c 100644
--- a/src/backends/native/meta-drm-buffer-gbm.c
+++ b/src/backends/native/meta-drm-buffer-gbm.c
@@ -291,7 +291,7 @@ meta_drm_buffer_gbm_blit_to_framebuffer (CoglScanout *scanout,
error);
out:
- cogl_clear_object (&cogl_fbo);
+ g_clear_object (&cogl_fbo);
close (dmabuf_fd);
return result;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]