Browse Source

progs/perf: added PerfExtensionSupported() helper

tags/mesa_7_7_rc1
Brian Paul 16 years ago
parent
commit
cfb0f2489d
2 changed files with 10 additions and 0 deletions
  1. 7
    0
      progs/perf/glmain.c
  2. 3
    0
      progs/perf/glmain.h

+ 7
- 0
progs/perf/glmain.c View File

@@ -165,6 +165,13 @@ PerfReshapeWindow( unsigned w, unsigned h )
}


GLboolean
PerfExtensionSupported(const char *ext)
{
return glutExtensionSupported(ext);
}


static void
Idle(void)
{

+ 3
- 0
progs/perf/glmain.h 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 **/


Loading…
Cancel
Save