progs/perf: added PerfExtensionSupported() helper
This commit is contained in:
parent
0ec26cce36
commit
cfb0f2489d
|
@ -165,6 +165,13 @@ PerfReshapeWindow( unsigned w, unsigned h )
|
|||
}
|
||||
|
||||
|
||||
GLboolean
|
||||
PerfExtensionSupported(const char *ext)
|
||||
{
|
||||
return glutExtensionSupported(ext);
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
Idle(void)
|
||||
{
|
||||
|
|
|
@ -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 **/
|
||||
|
||||
|
|
Loading…
Reference in New Issue