mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-06-19 08:58:25 +02:00
DRI2: Send the version the code actually supports
This prevents building an older server with a new dri2proto.h from resulting in a DRI2 extension module that lies about the version it supports. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
d1e916d29b
commit
44227ef1b7
1 changed files with 2 additions and 2 deletions
|
|
@ -79,8 +79,8 @@ ProcDRI2QueryVersion(ClientPtr client)
|
|||
rep.type = X_Reply;
|
||||
rep.length = 0;
|
||||
rep.sequenceNumber = client->sequence;
|
||||
rep.majorVersion = DRI2_MAJOR;
|
||||
rep.minorVersion = DRI2_MINOR;
|
||||
rep.majorVersion = 1;
|
||||
rep.minorVersion = 0;
|
||||
|
||||
if (client->swapped) {
|
||||
swaps(&rep.sequenceNumber, n);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue