summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-02-14 13:57:47 +0000
committerJose Fonseca <jfonseca@vmware.com>2015-02-14 16:07:22 +0000
commitf9d54b7e701f433fa36d14c07fc06386e7b90964 (patch)
tree223b54996bdff95ff1964f51c7655fbf05d1af5e
parent40313c35e160b574862d1e6e236ff9eabb9afb08 (diff)
downloadmesa-demos-f9d54b7e701f433fa36d14c07fc06386e7b90964.zip
mesa-demos-f9d54b7e701f433fa36d14c07fc06386e7b90964.tar.xz
line-sample: Ensure GL_ALIASED_LINE_WIDTH_RANGE is defined on Windows.
By including glew.h, as done in other examples. Trivial.
-rw-r--r--src/tests/line-sample.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/line-sample.c b/src/tests/line-sample.c
index d577d23..ae5e056 100644
--- a/src/tests/line-sample.c
+++ b/src/tests/line-sample.c
@@ -11,6 +11,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+#include <GL/glew.h> // just for GL_ALIASED_LINE_WIDTH_RANGE
#include "glut_wrap.h"