summaryrefslogtreecommitdiff
path: root/tests/hiz
diff options
context:
space:
mode:
authorChad Versace <chad.versace@intel.com>2011-04-28 15:32:07 -0700
committerChad Versace <chad.versace@intel.com>2011-04-28 15:34:26 -0700
commita5fd6422b0952fba7c7744c7f984bbbdcae598d5 (patch)
tree619111cd3ecb1cf32ff2107fc3e115ca05dedd3b /tests/hiz
parentd69e9c40b734192fa48aa32ac561944d349494dd (diff)
hiz: Fix return value of hiz_check_fbo_depth_test()
hiz_check_fbo_depth_test() has return type bool and should have returned true (1) on success and false (0) on failure. Instead, it returned PIGLIT_PASS (0) on success and PIGLIT_FAIL (1) on failure.
Diffstat (limited to 'tests/hiz')
-rw-r--r--tests/hiz/hiz-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hiz/hiz-util.c b/tests/hiz/hiz-util.c
index ccafc8372..9d49dda56 100644
--- a/tests/hiz/hiz-util.c
+++ b/tests/hiz/hiz-util.c
@@ -268,5 +268,5 @@ hiz_check_fbo_depth_test(const struct hiz_fbo_options *fbo_options)
hiz_delete_fbo(fbo);
- return pass ? PIGLIT_PASS : PIGLIT_FAIL;
+ return pass;
}