On 01/18/2014 02:50 PM, Vinson Lee wrote:
Fixes "Unchecked return value" defect reported by Coverity.
Signed-off-by: Vinson Lee <v...@freedesktop.org>
---
tests/spec/gl-3.2/depth-tex-sampling.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/spec/gl-3.2/depth-tex-sampling.c
b/tests/spec/gl-3.2/depth-tex-sampling.c
index 32079c1..a7def6c 100644
--- a/tests/spec/gl-3.2/depth-tex-sampling.c
+++ b/tests/spec/gl-3.2/depth-tex-sampling.c
@@ -199,7 +199,7 @@ piglit_display(void)
piglit_present_results();
- piglit_check_gl_error(GL_NO_ERROR);
+ pass = piglit_check_gl_error(GL_NO_ERROR) && pass;
return pass ? PIGLIT_PASS : PIGLIT_FAIL;
}
For all six patches: Reviewed-by: Brian Paul <bri...@vmware.com>
_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit