[Piglit] [PATCH 1/4] egl: Fix typo in piglit_expect_egl_error

Matt Turner mattst88 at gmail.com
Mon Oct 8 16:57:55 PDT 2012


---
 tests/util/piglit-util-egl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/util/piglit-util-egl.c b/tests/util/piglit-util-egl.c
index 5de290a..a7d37e5 100644
--- a/tests/util/piglit-util-egl.c
+++ b/tests/util/piglit-util-egl.c
@@ -69,7 +69,7 @@ void piglit_expect_egl_error(EGLint expected_error, enum piglit_result result)
 	/* Print the expected error, but only if an error was really expected. */
 	if (expected_error != EGL_SUCCESS) {
 		printf("Expected EGL error: %s 0x%x\n",
-		piglit_get_gl_error_name(expected_error), expected_error);
+		piglit_get_egl_error_name(expected_error), expected_error);
         }
 
 	piglit_report_result(result);
-- 
1.7.8.6



More information about the Piglit mailing list