glx/dri: only report DRI2 extensions when DRI2 is enabled.
authorDave Airlie <airlied@linux.ie>
Sun, 13 Jul 2008 09:00:46 +0000 (19:00 +1000)
committerDave Airlie <airlied@linux.ie>
Sun, 13 Jul 2008 09:00:46 +0000 (19:00 +1000)
commit4fab47b13c214dc79e0ae5d8001521029ce34231
tree5cef140eea4f1956cda116809cf4af511a092896
parente81ba58bf4c20229677cdf89b5970b55cefb2199
glx/dri: only report DRI2 extensions when DRI2 is enabled.

Fixes bug 15477
src/glx/x11/dri2_glx.c
src/glx/x11/dri_common.c
src/glx/x11/dri_common.h
src/glx/x11/dri_glx.c
src/glx/x11/drisw_glx.c