summaryrefslogtreecommitdiff
path: root/tests/general/isbufferobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/general/isbufferobj.c')
-rw-r--r--tests/general/isbufferobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/general/isbufferobj.c b/tests/general/isbufferobj.c
index 80ac737da..4f7141a22 100644
--- a/tests/general/isbufferobj.c
+++ b/tests/general/isbufferobj.c
@@ -100,7 +100,7 @@ piglit_display(void)
void
piglit_init(int argc, char**argv)
{
- if (!GLEW_VERSION_1_5) {
+ if (piglit_get_gl_version() < 15) {
printf("Requires OpenGL 1.5\n");
piglit_report_result(PIGLIT_SKIP);
}