---
 tests/shaders/shader_runner.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
index 4299e34..fed9692 100644
--- a/tests/shaders/shader_runner.c
+++ b/tests/shaders/shader_runner.c
@@ -2991,6 +2991,12 @@ piglit_display(void)
                                piglit_report_result(PIGLIT_FAIL);
                        }
                        glClipPlane(GL_CLIP_PLANE0 + x, d);
+#ifdef PIGLIT_USE_OPENGL
+               } else if (parse_str(line, "color ", &rest)) {
+                       parse_floats(rest, c, 4, NULL);
+                       assert(!piglit_is_core_profile);
+                       glColor4fv(c);
+#endif
                } else if (sscanf(line,
                                  "compute %d %d %d",
                                  &x, &y, &z) == 3) {
-- 
2.7.4

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

Reply via email to