projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cde6643
)
st/xorg: Init all functions and fix spelling
author
Jakob Bornecrantz
<jakob@vmware.com>
Wed, 18 Nov 2009 22:50:26 +0000
(22:50 +0000)
committer
Jakob Bornecrantz
<jakob@vmware.com>
Wed, 18 Nov 2009 09:59:42 +0000
(10:59 +0100)
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 bd4acf7f82d4b17626c7259bce1d9fb930d4a3f2..aca889d6f8c938e6cada61292c6a5d350c5669e4 100644
(file)
--- a/
src/gallium/state_trackers/xorg/xorg_dri2.c
+++ b/
src/gallium/state_trackers/xorg/xorg_dri2.c
@@
-355,7
+355,7
@@
driScreenInit(ScreenPtr pScreen)
modesettingPtr ms = modesettingPTR(pScrn);
DRI2InfoRec dri2info;
-#if DRI2INFOR
CE
_VERSION >= 2
+#if DRI2INFOR
EC
_VERSION >= 2
dri2info.version = DRI2INFOREC_VERSION;
#else
dri2info.version = 1;
@@
-368,6
+368,8
@@
driScreenInit(ScreenPtr pScreen)
#if DRI2INFOREC_VERSION >= 2
dri2info.CreateBuffer = driCreateBuffer;
dri2info.DestroyBuffer = driDestroyBuffer;
+ dri2info.CreateBuffers = NULL;
+ dri2info.DestroyBuffers = NULL;
#else
dri2info.CreateBuffers = driCreateBuffers;
dri2info.DestroyBuffers = driDestroyBuffers;