summaryrefslogtreecommitdiff
path: root/tests/util/piglit-glx-util.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-03-30 12:26:00 -0400
committerAdam Jackson <ajax@redhat.com>2011-03-30 14:49:02 -0400
commit9a1faf91585339b615828a4eaa0a56461d3a856d (patch)
tree69be40a496d8c1149d5b7a8903b1456ed4845d9b /tests/util/piglit-glx-util.h
parent08d49eb0946d5f4db5d5a51f1739f036a62d0549 (diff)
util: Add piglit_glx_get_fbconfig_from_visinfo
Makes it easier to test GLX 1.3 functionality.
Diffstat (limited to 'tests/util/piglit-glx-util.h')
-rw-r--r--tests/util/piglit-glx-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/util/piglit-glx-util.h b/tests/util/piglit-glx-util.h
index 2169cff7a..21ecda55b 100644
--- a/tests/util/piglit-glx-util.h
+++ b/tests/util/piglit-glx-util.h
@@ -45,3 +45,6 @@ void piglit_glx_window_set_no_input(Display *dpy, GLXDrawable win);
enum piglit_result
piglit_glx_iterate_visuals(enum piglit_result (*draw)(Display *dpy,
GLXFBConfig config));
+
+GLXFBConfig
+piglit_glx_get_fbconfig_for_visinfo(Display *dpy, XVisualInfo *visinfo);