summaryrefslogtreecommitdiff
path: root/glx/glxscreens.h
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2009-09-29 16:43:43 -0700
committerIan Romanick <ian.d.romanick@intel.com>2009-09-29 16:46:39 -0700
commitad5c0d9efa47476ed5cf75c82265c73919e468b4 (patch)
tree25ac8ca8444b1c9690d2e499cac366df6c5cd32a /glx/glxscreens.h
parentf11a356bcef1bc0a6440325019d5967b745a42dd (diff)
GLX: Enable GLX 1.4 on DRI2
Return the minimum GLX version supported by all screens. Assume that DRI2 screens have all the required features for GLX 1.4. Assume that everyone else can only support GLX 1.2. Reviewed-by: Kristian Høgsberg <krh@redhat.com> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'glx/glxscreens.h')
-rw-r--r--glx/glxscreens.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/glx/glxscreens.h b/glx/glxscreens.h
index 3c1bdd4ba..2d696d2ea 100644
--- a/glx/glxscreens.h
+++ b/glx/glxscreens.h
@@ -160,6 +160,8 @@ struct __GLXscreen {
char *GLXvendor;
char *GLXversion;
char *GLXextensions;
+ unsigned GLXmajor;
+ unsigned GLXminor;
Bool (*CloseScreen)(int index, ScreenPtr pScreen);
Bool (*DestroyWindow)(WindowPtr pWindow);