summaryrefslogtreecommitdiff
path: root/test/headerguards.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-12-02 16:25:02 -0800
committerEric Anholt <eric@anholt.net>2013-12-05 12:38:15 -0800
commit0270c80008e3c6b9f2f5dfba03631f72c7920796 (patch)
tree0f09c960c787fe3a67213f214263d4f983472213 /test/headerguards.c
parent111c54992b54f090b63278daa541e29b341bb2ad (diff)
Add support for EGL.
This totally replaces the getprocaddress and dlsym code, which was basically just stubs up until now. The is_glx/is_egl() is also dropped -- they weren't doing anything, and the only false answer they could give is if the dlopen were to fail.
Diffstat (limited to 'test/headerguards.c')
-rw-r--r--test/headerguards.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/headerguards.c b/test/headerguards.c
index 17e6aef..a270b53 100644
--- a/test/headerguards.c
+++ b/test/headerguards.c
@@ -22,8 +22,11 @@
*/
#include <epoxy/gl.h>
+#include <epoxy/egl.h>
#include <epoxy/glx.h>
+#include <EGL/egl.h>
+#include <EGL/eglext.h>
#include <GL/gl.h>
#include <GL/glext.h>
#include <GL/glx.h>