diff options
Diffstat (limited to 'dri3')
-rw-r--r-- | dri3/dri3_request.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/dri3/dri3_request.c b/dri3/dri3_request.c index 61d3f9d05..e34bebedb 100644 --- a/dri3/dri3_request.c +++ b/dri3/dri3_request.c @@ -37,7 +37,10 @@ dri3_screen_can_one_point_two(ScreenPtr screen) { dri3_screen_priv_ptr dri3 = dri3_screen_priv(screen); - if (dri3 && dri3->info && dri3->info->version >= 2) + if (dri3 && dri3->info && dri3->info->version >= 2 && + dri3->info->pixmap_from_fds && dri3->info->fds_from_pixmap && + dri3->info->get_formats && dri3->info->get_modifiers && + dri3->info->get_drawable_modifiers) return TRUE; return FALSE; @@ -79,7 +82,8 @@ proc_dri3_query_version(ClientPtr client) */ if (rep.majorVersion > stuff->majorVersion || - rep.minorVersion > stuff->minorVersion) { + (rep.majorVersion == stuff->majorVersion && + rep.minorVersion > stuff->minorVersion)) { rep.majorVersion = stuff->majorVersion; rep.minorVersion = stuff->minorVersion; } |