diff options
author | Michel Dänzer <[email protected]> | 2009-11-19 10:38:08 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2009-11-19 10:38:08 +0100 |
commit | ea114345a6f19331628910745650cb64750b2bda (patch) | |
tree | 8ab36c370406d30024fb5134319c1450b8a6b445 | |
parent | e3cfd78969cd4a94fc83a5d6fb2f33730cc4e70f (diff) |
st/xorg: Don't initialize non-existing fields.
-rw-r--r-- | 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 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; |