summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@gmail.com>2012-09-09 21:24:03 +1000
committerDave Airlie <airlied@gmail.com>2012-09-09 21:24:03 +1000
commit311c750f2c8051e7a385a5389ee78834dd39c25b (patch)
tree081e3edf7a7b9fb8e3e818176da2d6a1afd6755f
parent35e1894c105cdfdefdb5a843d85abb0c3d8c449e (diff)
sampler: fix buildarb_texture_cube_map_array
-rw-r--r--tests/spec/arb_texture_cube_map_array/sampler-cube-array-shadow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/spec/arb_texture_cube_map_array/sampler-cube-array-shadow.c b/tests/spec/arb_texture_cube_map_array/sampler-cube-array-shadow.c
index e9f3cff7f..e0a503d59 100644
--- a/tests/spec/arb_texture_cube_map_array/sampler-cube-array-shadow.c
+++ b/tests/spec/arb_texture_cube_map_array/sampler-cube-array-shadow.c
@@ -57,7 +57,7 @@ static GLfloat compvals[6][4] = { { -0.50, 0.00, 0.50, 0.00 },
#define STRIDE (5 * sizeof(GLfloat))
void setup_texcoords(void)
{
- int i, j, k;
+ int i, j;
for (i = 0; i < 6; i++) {
for (j = 0; j < 4; j++) {
memcpy(cube_shadow_texcoords[i][j], cube_face_texcoords[i][j], 3 * sizeof(GLfloat));
@@ -164,7 +164,7 @@ piglit_init(int argc, char **argv)
enum piglit_result
piglit_display(void)
{
- GLint loc0, loc2;
+ GLint loc1, loc2;
GLboolean pass = GL_TRUE;
GLfloat white[4] = {1.0, 1.0, 1.0, 1.0};
GLfloat black[4] = {0.0, 0.0, 0.0, 1.0};