summaryrefslogtreecommitdiff
path: root/progs/glsl/texaaline.c
diff options
context:
space:
mode:
authorNicolai Hähnle <nhaehnle@gmail.com>2009-10-07 20:45:08 +0200
committerNicolai Hähnle <nhaehnle@gmail.com>2009-10-07 20:45:08 +0200
commit7ca7220ea1d31dbdbf1fe7e6f3e6cc4ff8b0abde (patch)
treea4e50f36da7c75c945a2418738e2a84af2b3789d /progs/glsl/texaaline.c
parent57abb76e1095d14f54ea8b8d0d2220e209b8656f (diff)
parent5b4c0b864a25fa193e7ba828cf5ce483ca05bd4e (diff)
Merge branch 'master' into r300g-glsl
Conflicts: src/gallium/drivers/r300/r300_tgsi_to_rc.c Signed-off-by: Nicolai Hähnle <nhaehnle@gmail.com>
Diffstat (limited to 'progs/glsl/texaaline.c')
-rw-r--r--progs/glsl/texaaline.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/glsl/texaaline.c b/progs/glsl/texaaline.c
index 7a5ac405bb..2e4f932ad6 100644
--- a/progs/glsl/texaaline.c
+++ b/progs/glsl/texaaline.c
@@ -14,6 +14,9 @@
#include <GL/glew.h>
#include <GL/glut.h>
+#ifndef M_PI
+#define M_PI 3.1415926535
+#endif
static GLint WinWidth = 300, WinHeight = 300;
static GLint win = 0;