auxiliary/vl/drm: setup the dispatch
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 9 Nov 2015 11:18:14 +0000 (11:18 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 20 Nov 2015 10:58:44 +0000 (10:58 +0000)
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/auxiliary/vl/vl_winsys_drm.c

index 1167fcf6a90861ac29afd4d1540b2c5de4fc1569..2ebf20c4bd3dc12eddee9fc4b7752d49134e304f 100644 (file)
@@ -59,6 +59,12 @@ vl_drm_screen_create(int fd)
       return NULL;
    }
 
+   vscreen->destroy = vl_drm_screen_destroy;
+   vscreen->texture_from_drawable = NULL;
+   vscreen->get_dirty_area = NULL;
+   vscreen->get_timestamp = NULL;
+   vscreen->set_next_timestamp = NULL;
+   vscreen->get_private = NULL;
    return vscreen;
 }