[Piglit] [PATCH] beginend-coverage: change the incorect parameter for glMaterialf and glMateriali.
Sandra Koroniewska
sandra.koroniewska at gmail.com
Thu May 4 16:44:00 UTC 2017
This fixes
spec/gl-1.0/beginend-coverage on a Windows Intel driver.
---
tests/spec/gl-1.0/beginend-coverage.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/spec/gl-1.0/beginend-coverage.c b/tests/spec/gl-1.0/beginend-coverage.c
index bb704f8f4..e60deabe0 100644
--- a/tests/spec/gl-1.0/beginend-coverage.c
+++ b/tests/spec/gl-1.0/beginend-coverage.c
@@ -207,9 +207,9 @@ TEST_FUNC(glLoadIdentity, ())
TEST_FUNC(glLoadMatrixd, (junk))
TEST_FUNC(glLoadMatrixf, (junk))
TEST_FUNC(glLogicOp, (GL_COPY))
-TEST_FUNC(glMaterialf, (GL_FRONT, GL_AMBIENT, 0))
+TEST_FUNC(glMaterialf, (GL_FRONT, GL_SHININESS, 0))
TEST_FUNC(glMaterialfv, (GL_FRONT, GL_AMBIENT, junk))
-TEST_FUNC(glMateriali, (GL_FRONT, GL_AMBIENT, 0))
+TEST_FUNC(glMateriali, (GL_FRONT, GL_SHININESS, 0))
TEST_FUNC(glMaterialiv, (GL_FRONT, GL_AMBIENT, junk))
TEST_FUNC(glMatrixMode, (GL_MODELVIEW))
TEST_FUNC(glMultMatrixd, (junk))
--
2.11.0.windows.1
More information about the Piglit
mailing list