Demos (master): tests/backspecular: Fix Windows builds.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Wed Jan 22 14:13:22 UTC 2014
Module: Demos
Branch: master
Commit: 399a8e8e9143dc30dce8f30cf6774c75342162a6
URL: http://cgit.freedesktop.org/mesa/demos/commit/?id=399a8e8e9143dc30dce8f30cf6774c75342162a6
Author: José Fonseca <jfonseca at vmware.com>
Date: Wed Jan 22 14:11:59 2014 +0000
tests/backspecular: Fix Windows builds.
GL_LIGHT_MODEL_COLOR_CONTROL and GL_SEPARATE_SPECULAR_COLOR are not part
of standard GL/gl.h header. At least, not Windows'.
One could include GL/glext.h, but instead simply include GL/glew.h as
commonly done on other tests.
---
src/tests/backspecular.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/tests/backspecular.c b/src/tests/backspecular.c
index ac95283..962071f 100644
--- a/src/tests/backspecular.c
+++ b/src/tests/backspecular.c
@@ -1,4 +1,5 @@
#include <stdlib.h>
+#include <GL/glew.h>
#include "glut_wrap.h"
More information about the mesa-commit
mailing list