diff options
author | Chad Versace <chad.versace@intel.com> | 2011-04-28 15:32:07 -0700 |
---|---|---|
committer | Chad Versace <chad.versace@intel.com> | 2011-04-28 15:34:26 -0700 |
commit | a5fd6422b0952fba7c7744c7f984bbbdcae598d5 (patch) | |
tree | 619111cd3ecb1cf32ff2107fc3e115ca05dedd3b /tests/hiz | |
parent | d69e9c40b734192fa48aa32ac561944d349494dd (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.c | 2 |
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; } |