dri3: cap the version returned to the client

Graphics / X.Org / X.Org Server - Emil Velikov [collabora.com] - 19 March 2018 19:49 EDT

As per the protocol, the server should not return version greater than the one supported by the client.

Add a spec quote and tweak the numbers accordingly.

Fixes: 563138298868 ("dri3: Add DRI3 extension") Cc: Daniel Stone Cc: Keith Packard

ae5c0dd19 dri3: cap the version returned to the client
dri3/dri3_request.c | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share