Mesa (mesa_7_7_branch): st/xorg: Don't initialize non-existing fields.

Michel Dänzer daenzer at kemper.freedesktop.org
Thu Nov 19 16:54:52 UTC 2009


Module: Mesa
Branch: mesa_7_7_branch
Commit: ea114345a6f19331628910745650cb64750b2bda
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ea114345a6f19331628910745650cb64750b2bda

Author: Michel Dänzer <daenzer at vmware.com>
Date:   Thu Nov 19 10:38:08 2009 +0100

st/xorg: Don't initialize non-existing fields.

---

 src/gallium/state_trackers/xorg/xorg_dri2.c |    2 --
 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 aca889d..660ea6a 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;




More information about the mesa-commit mailing list