summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-09-22 11:02:04 -0600
committerBrian Paul <brianp@vmware.com>2009-09-22 11:15:11 -0600
commitcfb0f2489dabd07e905969484edb9317395b2f6a (patch)
treeaed9d54904b647abe418928e287c88254b5e748b /progs
parent0ec26cce366f935c093fbf2819ee7fac2af48111 (diff)
progs/perf: added PerfExtensionSupported() helper
Diffstat (limited to 'progs')
-rw-r--r--progs/perf/glmain.c7
-rw-r--r--progs/perf/glmain.h3
2 files changed, 10 insertions, 0 deletions
diff --git a/progs/perf/glmain.c b/progs/perf/glmain.c
index 8b41b8ee82..a167be042e 100644
--- a/progs/perf/glmain.c
+++ b/progs/perf/glmain.c
@@ -165,6 +165,13 @@ PerfReshapeWindow( unsigned w, unsigned h )
}
+GLboolean
+PerfExtensionSupported(const char *ext)
+{
+ return glutExtensionSupported(ext);
+}
+
+
static void
Idle(void)
{
diff --git a/progs/perf/glmain.h b/progs/perf/glmain.h
index ccfd289880..d9bcd5f4e2 100644
--- a/progs/perf/glmain.h
+++ b/progs/perf/glmain.h
@@ -49,6 +49,9 @@ PerfShaderProgram(const char *vertShader, const char *fragShader);
extern int
PerfReshapeWindow( unsigned w, unsigned h );
+extern GLboolean
+PerfExtensionSupported(const char *ext);
+
/** Test programs must implement these functions **/