summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2012-10-08 15:11:27 -0700
committerMatt Turner <mattst88@gmail.com>2012-10-11 10:40:42 -0700
commit69461808957abe10291f92be58f1f80dafebf143 (patch)
treebc78235e0adf2708c55ff119d8e72c72d2586374 /tests
parenteca13c9061c45c3273cc6882e40801a0ccd2c6b6 (diff)
egl: Fix typo in piglit_expect_egl_error
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/util/piglit-util-egl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/util/piglit-util-egl.c b/tests/util/piglit-util-egl.c
index 5de290acd..a7d37e56d 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);