From: Michel Dänzer Date: Thu, 19 Nov 2009 09:38:08 +0000 (+0100) Subject: st/xorg: Don't initialize non-existing fields. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea114345a6f19331628910745650cb64750b2bda;p=mesa.git st/xorg: Don't initialize non-existing fields. --- diff --git a/src/gallium/state_trackers/xorg/xorg_dri2.c b/src/gallium/state_trackers/xorg/xorg_dri2.c index aca889d6f8c..660ea6a1ba9 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;