Merge pull request #1299 from Emantor/set-drm-version

backend/drm: set drmEventContext version to 2
This commit is contained in:
Drew DeVault 2018-10-09 13:40:06 +02:00 committed by GitHub
commit feb0614d32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1261,7 +1261,7 @@ static void page_flip_handler(int fd, unsigned seq,
int handle_drm_event(int fd, uint32_t mask, void *data) { int handle_drm_event(int fd, uint32_t mask, void *data) {
drmEventContext event = { drmEventContext event = {
.version = DRM_EVENT_CONTEXT_VERSION, .version = 2,
.page_flip_handler = page_flip_handler, .page_flip_handler = page_flip_handler,
}; };