summaryrefslogtreecommitdiff
path: root/src/gallium/targets/egl-vmwgfx/target.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/egl-vmwgfx/target.c')
-rw-r--r--src/gallium/targets/egl-vmwgfx/target.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/targets/egl-vmwgfx/target.c b/src/gallium/targets/egl-vmwgfx/target.c
new file mode 100644
index 0000000000..39a829a230
--- /dev/null
+++ b/src/gallium/targets/egl-vmwgfx/target.c
@@ -0,0 +1,7 @@
+#include "target-helpers/drm_api_compat.h"
+
+DRM_API_COMPAT_STRUCT("vmwgfx", "vmwgfx")
+
+/* A poor man's --whole-archive for EGL drivers */
+void *_eglMain(void *);
+void *_eglWholeArchive = (void *) _eglMain;