summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-11-19 10:38:08 +0100
committerMichel Dänzer <daenzer@vmware.com>2009-11-19 10:38:08 +0100
commitea114345a6f19331628910745650cb64750b2bda (patch)
tree8ab36c370406d30024fb5134319c1450b8a6b445
parente3cfd78969cd4a94fc83a5d6fb2f33730cc4e70f (diff)
st/xorg: Don't initialize non-existing fields.
-rw-r--r--src/gallium/state_trackers/xorg/xorg_dri2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_dri2.c b/src/gallium/state_trackers/xorg/xorg_dri2.c
index aca889d6f8..660ea6a1ba 100644
--- a/src/gallium/state_trackers/xorg/xorg_dri2.c
+++ b/src/gallium/state_trackers/xorg/xorg_dri2.c
@@ -368,8 +368,6 @@ 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;