summaryrefslogtreecommitdiff
path: root/src/gallium/targets/egl/pipe_swrast.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/egl/pipe_swrast.c')
-rw-r--r--src/gallium/targets/egl/pipe_swrast.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/targets/egl/pipe_swrast.c b/src/gallium/targets/egl/pipe_swrast.c
new file mode 100644
index 0000000000..d8205c158e
--- /dev/null
+++ b/src/gallium/targets/egl/pipe_swrast.c
@@ -0,0 +1,8 @@
+
+#include "state_tracker/drm_driver.h"
+
+DRM_DRIVER_DESCRIPTOR("swrast", NULL, NULL)
+
+/* A poor man's --whole-archive for EGL drivers */
+void *_eglMain(void *);
+void *_eglWholeArchive = (void *) _eglMain;