st/xorg: Don't initialize non-existing fields.
authorMichel Dänzer <daenzer@vmware.com>
Thu, 19 Nov 2009 09:38:08 +0000 (10:38 +0100)
committerMichel Dänzer <daenzer@vmware.com>
Thu, 19 Nov 2009 09:38:08 +0000 (10:38 +0100)
src/gallium/state_trackers/xorg/xorg_dri2.c

index aca889d6f8c938e6cada61292c6a5d350c5669e4..660ea6a1ba95bcc9c547894d431f6645fb7eb96a 100644 (file)
@@ -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;