...

Signed-off-by: Daniel Stone <[email protected]>
---
 drm-atomic.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drm-atomic.c b/drm-atomic.c
index 25e04b1..6fb40fd 100644
--- a/drm-atomic.c
+++ b/drm-atomic.c
@@ -368,6 +368,9 @@ const struct drm * init_drm_atomic(const char *device)
        drm.crtc = calloc(1, sizeof(*drm.crtc));
        drm.connector = calloc(1, sizeof(*drm.connector));
 
+       drm.kms_in_fence_fd = -1;
+       drm.kms_out_fence_fd = -1;
+
 #define get_resource(type, Type, id) do {                                      
\
                drm.type->type = drmModeGet##Type(drm.fd, id);          \
                if (!drm.type->type) {                                          
                \
-- 
2.12.2

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to