progs/perf: added PerfExtensionSupported() helper
authorBrian Paul <brianp@vmware.com>
Tue, 22 Sep 2009 17:02:04 +0000 (11:02 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 22 Sep 2009 17:15:11 +0000 (11:15 -0600)
progs/perf/glmain.c
progs/perf/glmain.h

index 8b41b8ee829ed5002386e6887d96ba70e8995aaf..a167be042efe2b3ed2a944399cbfa10a036a1a0c 100644 (file)
@@ -165,6 +165,13 @@ PerfReshapeWindow( unsigned w, unsigned h )
 }
 
 
+GLboolean
+PerfExtensionSupported(const char *ext)
+{
+   return glutExtensionSupported(ext);
+}
+
+
 static void
 Idle(void)
 {
index ccfd289880d1cda8e1398c24b6eb56883e9e64f1..d9bcd5f4e2129af17e36f0a9d0fb75994a662575 100644 (file)
@@ -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 **/