summaryrefslogtreecommitdiff
path: root/src/gallium/targets/egl-i965/target.c
diff options
context:
space:
mode:
authorJakob Bornecrantz <jakob@vmware.com>2010-06-01 04:06:52 +0100
committerJakob Bornecrantz <jakob@vmware.com>2010-06-06 12:29:29 +0100
commitc1a19689b83a9569b30ba43c168fdca328cb9f2e (patch)
tree13b0c2e3f360a6f911fb5154b2db70fea9016e15 /src/gallium/targets/egl-i965/target.c
parente72b15aa47c24b920c708e1dc47f69a070d50d51 (diff)
gallium: Make all drm drivers use the new drm compat helper
Diffstat (limited to 'src/gallium/targets/egl-i965/target.c')
-rw-r--r--src/gallium/targets/egl-i965/target.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/targets/egl-i965/target.c b/src/gallium/targets/egl-i965/target.c
new file mode 100644
index 0000000000..2f97bcecf2
--- /dev/null
+++ b/src/gallium/targets/egl-i965/target.c
@@ -0,0 +1,8 @@
+
+#include "target-helpers/drm_api_compat.h"
+
+DRM_API_COMPAT_STRUCT("i965", "i915")
+
+/* A poor man's --whole-archive for EGL drivers */
+void *_eglMain(void *);
+void *_eglWholeArchive = (void *) _eglMain;