diff options
Diffstat (limited to 'tests/shaders/fp-fog.c')
-rw-r--r-- | tests/shaders/fp-fog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shaders/fp-fog.c b/tests/shaders/fp-fog.c index aa30f3530..cbc0dc9e0 100644 --- a/tests/shaders/fp-fog.c +++ b/tests/shaders/fp-fog.c @@ -134,7 +134,7 @@ piglit_init(int argc, char **argv) glClearColor(0.3, 0.3, 0.3, 0.3); - if (GLEW_VERSION_1_4) { + if (piglit_get_gl_version() >= 14) { pglFogCoordf = glFogCoordf; } else if (GLEW_EXT_fog_coord) { pglFogCoordf = glFogCoordfEXT; |