summaryrefslogtreecommitdiff
path: root/tests/fbo/fbo-formats.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fbo/fbo-formats.h')
-rw-r--r--tests/fbo/fbo-formats.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fbo/fbo-formats.h b/tests/fbo/fbo-formats.h
index 9cfd9e191..88b9ab8f3 100644
--- a/tests/fbo/fbo-formats.h
+++ b/tests/fbo/fbo-formats.h
@@ -570,7 +570,7 @@ static void add_result(bool *all_skip, enum piglit_result *end_result,
if (new != PIGLIT_SKIP)
*all_skip = false;
- if (new == PIGLIT_FAILURE)
+ if (new == PIGLIT_FAIL)
*end_result = new;
}
@@ -578,7 +578,7 @@ typedef enum piglit_result (*test_func)(const struct format_desc *format, GLenum
static enum piglit_result fbo_formats_display(test_func test_format)
{
- enum piglit_result result, end_result = PIGLIT_SUCCESS;
+ enum piglit_result result, end_result = PIGLIT_PASS;
bool all_skip = true;
int i;