[Piglit] [PATCH 6/8] layered-rendering/blit: declare compile time constants as static
Topi Pohjolainen
topi.pohjolainen at intel.com
Sun Jan 26 01:34:08 PST 2014
Signed-off-by: Topi Pohjolainen <topi.pohjolainen at intel.com>
---
tests/spec/gl-3.2/layered-rendering/blit.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/spec/gl-3.2/layered-rendering/blit.c b/tests/spec/gl-3.2/layered-rendering/blit.c
index a4cb6e8..ae4eea1 100644
--- a/tests/spec/gl-3.2/layered-rendering/blit.c
+++ b/tests/spec/gl-3.2/layered-rendering/blit.c
@@ -63,9 +63,9 @@ PIGLIT_GL_TEST_CONFIG_BEGIN
PIGLIT_GL_TEST_CONFIG_END
/* Values Set in piglit init */
-const int texWidth = 32;
-const int texHeight = 32;
-const int texDepth = 2;
+static const int texWidth = 32;
+static const int texHeight = 32;
+static const int texDepth = 2;
static const float srcColors[2][3] = {
{0.5, 0.4, 0.3}, {0, 1, 0}
--
1.8.3.1
More information about the Piglit
mailing list