Demos (master): line-sample: Ensure GL_ALIASED_LINE_WIDTH_RANGE is defined on Windows.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Sat Feb 14 16:07:49 UTC 2015


Module: Demos
Branch: master
Commit: f9d54b7e701f433fa36d14c07fc06386e7b90964
URL:    http://cgit.freedesktop.org/mesa/demos/commit/?id=f9d54b7e701f433fa36d14c07fc06386e7b90964

Author: Jose Fonseca <jfonseca at vmware.com>
Date:   Sat Feb 14 13:57:47 2015 +0000

line-sample: Ensure GL_ALIASED_LINE_WIDTH_RANGE is defined on Windows.

By including glew.h, as done in other examples.

Trivial.

---

 src/tests/line-sample.c |    1 +
 1 file changed, 1 insertion(+)

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"
 
 




More information about the mesa-commit mailing list