[Piglit] [PATCH 15/29] tests: Include glu.h where glu is used
Pauli Nieminen
pauli.nieminen at linux.intel.com
Mon May 21 11:08:50 PDT 2012
There is a few places where glu is used without including the header.
That produces warnings about missing functions. To silence compiler
warnings glu header needs to be included.
Signed-off-by: Pauli Nieminen <pauli.nieminen at linux.intel.com>
---
.../arb_shader_texture_lod/execution/texgrad.c | 1 +
tests/spec/gl-2.0/api/clip-flag-behavior.c | 1 +
tests/texturing/teximage-errors.c | 1 +
tests/texturing/texture-integer.c | 1 +
4 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/tests/spec/arb_shader_texture_lod/execution/texgrad.c b/tests/spec/arb_shader_texture_lod/execution/texgrad.c
index a7bf6ec..64e8f49 100644
--- a/tests/spec/arb_shader_texture_lod/execution/texgrad.c
+++ b/tests/spec/arb_shader_texture_lod/execution/texgrad.c
@@ -30,6 +30,7 @@
*/
#include "piglit-util.h"
+#include <GL/glu.h>
int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE;
int piglit_width = 512;
diff --git a/tests/spec/gl-2.0/api/clip-flag-behavior.c b/tests/spec/gl-2.0/api/clip-flag-behavior.c
index f429c22..1b9450a 100644
--- a/tests/spec/gl-2.0/api/clip-flag-behavior.c
+++ b/tests/spec/gl-2.0/api/clip-flag-behavior.c
@@ -37,6 +37,7 @@
*/
#include "piglit-util.h"
+#include <GL/glu.h>
int piglit_width = 100, piglit_height = 100;
int piglit_window_mode = GLUT_RGB | GLUT_DOUBLE;
diff --git a/tests/texturing/teximage-errors.c b/tests/texturing/teximage-errors.c
index 4a0aac7..6918329 100644
--- a/tests/texturing/teximage-errors.c
+++ b/tests/texturing/teximage-errors.c
@@ -28,6 +28,7 @@
*/
#include "piglit-util.h"
+#include <GL/glu.h>
int piglit_width = 100, piglit_height = 100;
int piglit_window_mode = GLUT_RGB;
diff --git a/tests/texturing/texture-integer.c b/tests/texturing/texture-integer.c
index a256e0a..a055c4b 100644
--- a/tests/texturing/texture-integer.c
+++ b/tests/texturing/texture-integer.c
@@ -28,6 +28,7 @@
*/
#include "piglit-util.h"
+#include <GL/glu.h>
int piglit_width = 100, piglit_height = 100;
--
1.7.5.4
More information about the Piglit
mailing list