diff options
author | Michel Dänzer <daenzer@vmware.com> | 2010-05-18 17:14:47 +0200 |
---|---|---|
committer | Michel Dänzer <daenzer@vmware.com> | 2010-05-18 17:14:47 +0200 |
commit | b0ba8d6f807543d461272833a76059fed8a4d6e9 (patch) | |
tree | 29072db5259cd97fa1d80191b56ffa519c040346 /src/gallium/state_trackers/xorg | |
parent | 0f88ce1b0a98c7cacaa0dc53bbbb1f3c379aaa6a (diff) | |
download | external_mesa3d-b0ba8d6f807543d461272833a76059fed8a4d6e9.zip external_mesa3d-b0ba8d6f807543d461272833a76059fed8a4d6e9.tar.gz external_mesa3d-b0ba8d6f807543d461272833a76059fed8a4d6e9.tar.bz2 |
st/xorg: Don't advertise DRI2 version we don't actually support yet.
Fixes DRI2 initialization with current xserver Git.
Diffstat (limited to 'src/gallium/state_trackers/xorg')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_dri2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_dri2.c b/src/gallium/state_trackers/xorg/xorg_dri2.c index b90f9c9..921b690 100644 --- a/src/gallium/state_trackers/xorg/xorg_dri2.c +++ b/src/gallium/state_trackers/xorg/xorg_dri2.c @@ -403,7 +403,7 @@ xorg_dri2_init(ScreenPtr pScreen) } #endif - dri2info.version = DRI2INFOREC_VERSION; + dri2info.version = min(DRI2INFOREC_VERSION, 3); dri2info.fd = ms->fd; dri2info.driverName = pScrn->driverName; |