diff options
-rw-r--r-- | tests/util/piglit-framework-gl/piglit_glut_framework.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/util/piglit-framework-gl/piglit_glut_framework.c b/tests/util/piglit-framework-gl/piglit_glut_framework.c index 6ce187201..777d20e39 100644 --- a/tests/util/piglit-framework-gl/piglit_glut_framework.c +++ b/tests/util/piglit-framework-gl/piglit_glut_framework.c @@ -29,6 +29,11 @@ #include "piglit_glut_framework.h" #include "piglit-util-gl.h" +/* Don't warn about using deprecated GLUT functions. */ +#ifdef __APPLE__ +# pragma GCC diagnostic ignored "-Wdeprecated-declarations" +#endif + struct piglit_glut_framework { struct piglit_gl_framework gl_fw; |