diff options
Diffstat (limited to 'src/egl/drivers/dri2/egl_dri2.c')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index c2b16d11732..0db80a091f8 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -3193,12 +3193,10 @@ dri2_load(_EGLDriver *drv) * Create a new _EGLDriver object and init its dispatch table. */ _EGLDriver * -_eglBuiltInDriverDRI2(const char *args) +_eglBuiltInDriver(void) { struct dri2_egl_driver *dri2_drv; - (void) args; - dri2_drv = calloc(1, sizeof *dri2_drv); if (!dri2_drv) return NULL; |