summaryrefslogtreecommitdiff
path: root/glx/glxdri2.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2010-12-28 12:40:31 +0000
committerDaniel Stone <daniel@fooishbar.org>2010-12-31 12:36:44 +0000
commit32c85ad4b8fe27fed0c494f69c39e3902ce57b1b (patch)
tree4709e07bd8a37a24f94fae356bf8c8a5454580f2 /glx/glxdri2.c
parent22796cfa4805cc9551e1b3fa1d3e2e1bfae5bad1 (diff)
GLX: DRI2: Fix mismatched-types warning
All the DRI extension types have a base extension type as their first member to avoid exactly these types of warning. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Mark Kettenis <kettenis@openbsd.org> Reviewed-by: Cyril Brulebois <kibi@debian.org>
Diffstat (limited to 'glx/glxdri2.c')
-rw-r--r--glx/glxdri2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glx/glxdri2.c b/glx/glxdri2.c
index 111118305..8d21c937b 100644
--- a/glx/glxdri2.c
+++ b/glx/glxdri2.c
@@ -594,7 +594,7 @@ static const __DRIextension *loader_extensions[] = {
&systemTimeExtension.base,
&loaderExtension.base,
#ifdef __DRI_USE_INVALIDATE
- &dri2UseInvalidate,
+ &dri2UseInvalidate.base,
#endif
NULL
};