diff options
Diffstat (limited to 'src/drmmode_template/drmmode_template.c')
-rw-r--r-- | src/drmmode_template/drmmode_template.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drmmode_template/drmmode_template.c b/src/drmmode_template/drmmode_template.c index 237dae5..a42d7fe 100644 --- a/src/drmmode_template/drmmode_template.c +++ b/src/drmmode_template/drmmode_template.c @@ -37,7 +37,7 @@ /* Padding added down each side of cursor image */ #define CURSORPAD (0) -/* Optional function */ +/* Optional function only for HWCURSOR_API_PLANE interface */ static int init_plane_for_cursor(int drm_fd, uint32_t plane_id) { return 0; @@ -62,6 +62,7 @@ struct drmmode_interface template_interface = { CURSORW /* cursor width */, CURSORH /* cursor_height */, CURSORPAD /* cursor padding */, + HWCURSOR_API_STANDARD /* cursor_api */, init_plane_for_cursor /* init_plane_for_cursor */, set_cursor_image /* set cursor image */, 0 /* vblank_query_supported */, |