Commit a5fd6422 authored by Chad Versace's avatar Chad Versace
Browse files

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.
parent d69e9c40
......@@ -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;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment