DRI2: don't send DRI2 requests the server doesn't know about
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 14 Jan 2010 00:01:51 +0000 (19:01 -0500)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 14 Jan 2010 00:01:51 +0000 (19:01 -0500)
commit1cfd769c2ec0b605cacd75c0e9c89346e1f9518d
treec61e5f243cbcee82ec332f4ff28217a77debaf17
parent62eb28c810a192dab772402904c50eea43b8340e
DRI2: don't send DRI2 requests the server doesn't know about

At init time, NULL out the hooks that send the server new requests.
DRI2 never supported these extensions, so this preserves old behavior on
old servers with new Mesa.
src/glx/x11/dri2_glx.c