summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-11-11 08:12:05 -0700
committerBrian Paul <[email protected]>2013-11-11 08:12:05 -0700
commit944eebbdb4ea9dd8283f83ade01110be9bf2bba7 (patch)
tree484bd0c2045738a0b87c7a7dda248dc837f3dd86
parent75982a5df42cd2406e529b7c96b36d2a8b1f7b60 (diff)
glx: declare glx_screen struct to silence warning
-rw-r--r--src/glx/dri2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glx/dri2.h b/src/glx/dri2.h
index c404a3af2f5..90efde8bcc1 100644
--- a/src/glx/dri2.h
+++ b/src/glx/dri2.h
@@ -45,6 +45,8 @@ typedef struct
unsigned int flags;
} DRI2Buffer;
+struct glx_screen;
+
extern Bool
DRI2QueryExtension(Display * display, int *eventBase, int *errorBase);