summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/targets/egl-swrast/swrast_glue.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/gallium/targets/egl-swrast/swrast_glue.c b/src/gallium/targets/egl-swrast/swrast_glue.c
index defd11c687..3c29be83a7 100644
--- a/src/gallium/targets/egl-swrast/swrast_glue.c
+++ b/src/gallium/targets/egl-swrast/swrast_glue.c
@@ -1,10 +1,11 @@
-#include "state_tracker/drm_api.h"
-struct drm_api *
-drm_api_create()
-{
- return NULL;
-}
+#include "state_tracker/drm_driver.h"
+
+struct drm_driver_descriptor drm_driver = {
+ .name = "swrast";
+ .driver_name = NULL;
+ .create_screen = NULL;
+};
/* A poor man's --whole-archive for EGL drivers */
void *_eglMain(void *);