progs/perf: added PerfExtensionSupported() helper

This commit is contained in:
Brian Paul 2009-09-22 11:02:04 -06:00
parent 0ec26cce36
commit cfb0f2489d
2 changed files with 10 additions and 0 deletions

View File

@ -165,6 +165,13 @@ PerfReshapeWindow( unsigned w, unsigned h )
}
GLboolean
PerfExtensionSupported(const char *ext)
{
return glutExtensionSupported(ext);
}
static void
Idle(void)
{

View 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 **/