---
 .../arb_enhanced_layouts/transform-feedback-layout-query-api.c  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/tests/spec/arb_enhanced_layouts/transform-feedback-layout-query-api.c 
b/tests/spec/arb_enhanced_layouts/transform-feedback-layout-query-api.c
index 44d1aef9a..05175b588 100644
--- a/tests/spec/arb_enhanced_layouts/transform-feedback-layout-query-api.c
+++ b/tests/spec/arb_enhanced_layouts/transform-feedback-layout-query-api.c
@@ -139,7 +139,7 @@ piglit_init(int argc, char **argv)
                max_active = false;
        }
 
-       piglit_report_subtest_result(active_res ? PIGLIT_PASS : PIGLIT_FAIL,
+       piglit_report_subtest_result(max_active ? PIGLIT_PASS : PIGLIT_FAIL,
                        "Query MAX_NUM_ACTIVE_VARIABLES");
 
        GLenum props[] = {GL_BUFFER_BINDING, GL_NUM_ACTIVE_VARIABLES,
-- 
2.17.1

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to