projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f88ce1
)
st/xorg: Don't advertise DRI2 version we don't actually support yet.
author
Michel Dänzer
<daenzer@vmware.com>
Tue, 18 May 2010 15:14:47 +0000
(17:14 +0200)
committer
Michel Dänzer
<daenzer@vmware.com>
Tue, 18 May 2010 15:14:47 +0000
(17:14 +0200)
Fixes DRI2 initialization with current xserver Git.
src/gallium/state_trackers/xorg/xorg_dri2.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/xorg/xorg_dri2.c
b/src/gallium/state_trackers/xorg/xorg_dri2.c
index b90f9c908d2a28ed03072d0a4bd1b9d40bc41ed9..921b6900fcd7cbdfb9c12a6677b2a0e7dd087725 100644
(file)
--- 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;