swrastg: Use new drm_driver interface in EGL
[mesa.git] / src / gallium / targets / egl-swrast / swrast_glue.c
1
2 #include "state_tracker/drm_driver.h"
3
4 struct drm_driver_descriptor drm_driver = {
5 .name = "swrast";
6 .driver_name = NULL;
7 .create_screen = NULL;
8 };
9
10 /* A poor man's --whole-archive for EGL drivers */
11 void *_eglMain(void *);
12 void *_eglWholeArchive = (void *) _eglMain;