aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-02-07 19:00:11 -0500
committerAlon Zakai <alonzakai@gmail.com>2014-02-07 19:00:11 -0500
commit7ec33d39d7a45992688a84dd0cf38ae992c3d710 (patch)
tree0f5fb527c5912e479c87c35ff7bcb2d52ef60484 /tests
parent2c1fbefac1c226805cdbff6311dc6b22c6bebed7 (diff)
test for eglGetProcAddress
Diffstat (limited to 'tests')
-rw-r--r--tests/test_egl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_egl.c b/tests/test_egl.c
index d66949d0..6eef4aa5 100644
--- a/tests/test_egl.c
+++ b/tests/test_egl.c
@@ -75,7 +75,10 @@ int main(int argc, char *argv[])
ret = eglTerminate(display);
assert(eglGetError() == EGL_SUCCESS);
assert(ret == EGL_TRUE);
-
+
+ assert(eglGetProcAddress("glClear") != 0);
+ assert(eglGetProcAddress("glWakaWaka") == 0);
+
#ifdef REPORT_RESULT
REPORT_RESULT();
#endif