diff options
author | Marek Olšák <maraeo@gmail.com> | 2011-04-29 17:56:29 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2011-04-29 18:08:10 +0200 |
commit | 73617fa907aa54dea538eccb6ac93ab02d7b34f9 (patch) | |
tree | 12a48006f39f40dd424aa2e51e41d26b0f867e8c /tests/shaders/activeprogram-get.c | |
parent | 03cc90919422d995d24151e499c9f120404d50b0 (diff) |
Rename PIGLIT_SUCCESS and PIGLIT_FAILURE to PIGLIT_PASS and PIGLIT_FAIL, resp.
Diffstat (limited to 'tests/shaders/activeprogram-get.c')
-rw-r--r-- | tests/shaders/activeprogram-get.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/shaders/activeprogram-get.c b/tests/shaders/activeprogram-get.c index d6075cd8c..b0fd2c36a 100644 --- a/tests/shaders/activeprogram-get.c +++ b/tests/shaders/activeprogram-get.c @@ -38,13 +38,13 @@ static const char vs_text[] = enum piglit_result piglit_display(void) { - return PIGLIT_FAILURE; + return PIGLIT_FAIL; } void piglit_init(int argc, char **argv) { - enum piglit_result result = PIGLIT_SUCCESS; + enum piglit_result result = PIGLIT_PASS; GLuint prog[2]; GLuint got; GLuint vs; @@ -66,7 +66,7 @@ piglit_init(int argc, char **argv) printf("After calling glUseProgram, " "GL_ACTIVE_PROGRAM_EXT should be %d (got %d)\n", prog[0], got); - result = PIGLIT_FAILURE; + result = PIGLIT_FAIL; } glActiveProgramEXT(prog[1]); @@ -75,7 +75,7 @@ piglit_init(int argc, char **argv) printf("After calling glActiveProgramEXT, " "GL_ACTIVE_PROGRAM_EXT should be %d (got %d)\n", prog[1], got); - result = PIGLIT_FAILURE; + result = PIGLIT_FAIL; } glUseProgram(0); |