diff options
author | Eric Engestrom <[email protected]> | 2017-09-26 13:13:39 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2017-10-12 14:38:55 +0100 |
commit | 9690759d0ccadd9527dee892eedc2f9d4baadf59 (patch) | |
tree | 94a10b8762a62bbf3585d30bd597d85295e02e22 /src/egl/drivers/haiku | |
parent | 6049fa454e4752a527cb8e13779082b27adcfb97 (diff) |
egl: replace _egl_driver->Unload() callback with a simple free()
Bonus: fixes a memleak on haiku when unloading the driver
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/drivers/haiku')
-rw-r--r-- | src/egl/drivers/haiku/egl_haiku.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/egl/drivers/haiku/egl_haiku.cpp b/src/egl/drivers/haiku/egl_haiku.cpp index c17198d6dd8..29ef7e854c7 100644 --- a/src/egl/drivers/haiku/egl_haiku.cpp +++ b/src/egl/drivers/haiku/egl_haiku.cpp @@ -308,14 +308,6 @@ haiku_swap_buffers(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surf) } -extern "C" -void -haiku_unload(_EGLDriver* drv) -{ - -} - - /** * This is the main entrypoint into the driver, called by libEGL. * Create a new _EGLDriver object and init its dispatch table. @@ -347,7 +339,6 @@ _eglBuiltInDriver(void) driver->base.API.SwapBuffers = haiku_swap_buffers; driver->base.Name = "Haiku"; - driver->base.Unload = haiku_unload; TRACE("API Calls defined\n"); |