summaryrefslogtreecommitdiffstats
path: root/progs/egl/opengles1/pbuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/egl/opengles1/pbuffer.c')
-rw-r--r--progs/egl/opengles1/pbuffer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/egl/opengles1/pbuffer.c b/progs/egl/opengles1/pbuffer.c
index 60f864445af..1b4dbb666f4 100644
--- a/progs/egl/opengles1/pbuffer.c
+++ b/progs/egl/opengles1/pbuffer.c
@@ -22,6 +22,9 @@
#include <EGL/egl.h>
+#ifndef M_PI
+#define M_PI 3.14159265
+#endif
static int WinWidth = 300, WinHeight = 300;