[Piglit] [PATCH 10/16] util/gl: Define piglit_*ortho_uniform() functions in GL builds too
Chad Versace
chad.versace at linux.intel.com
Wed Jul 9 14:56:52 PDT 2014
Now that piglit-dispatch supports every OpenGL API, there is no
longer a need to provide separate implementations for GL and GLES.
This patch brings us one step closer to unifying Piglit's CMake files.
Signed-off-by: Chad Versace <chad.versace at linux.intel.com>
---
tests/util/piglit-util-gl-common.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tests/util/piglit-util-gl-common.c b/tests/util/piglit-util-gl-common.c
index a20f8bf..9c2f718 100644
--- a/tests/util/piglit-util-gl-common.c
+++ b/tests/util/piglit-util-gl-common.c
@@ -579,7 +579,6 @@ piglit_frustum_projection(GLboolean push, double l, double r, double b,
glLoadIdentity();
}
-#ifndef PIGLIT_USE_OPENGL_ES1
/**
* Convenience function to configure a shader uniform variable as an
* arbitrary orthogonal projection matrix.
@@ -610,7 +609,6 @@ piglit_ortho_uniform(GLint location, int w, int h)
*/
piglit_gen_ortho_uniform(location, 0, w, 0, h, -1, 1);
}
-#endif
unsigned
--
2.0.0
More information about the Piglit
mailing list