diff options
Diffstat (limited to 'progs/egl/opengles1/render_tex.c')
-rw-r--r-- | progs/egl/opengles1/render_tex.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/progs/egl/opengles1/render_tex.c b/progs/egl/opengles1/render_tex.c index 0200fa4cb06..cd2abbd51b7 100644 --- a/progs/egl/opengles1/render_tex.c +++ b/progs/egl/opengles1/render_tex.c @@ -22,6 +22,10 @@ #include <EGL/egl.h> +#ifndef M_PI +#define M_PI 3.14159265 +#endif + static int TexWidth = 256, TexHeight = 256; static int WinWidth = 300, WinHeight = 300; |