mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 08:30:10 +01:00
egl/haiku: Remove some dead cleanup code
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26322>
This commit is contained in:
parent
c9e33f3545
commit
bb0ad6f0f5
1 changed files with 0 additions and 5 deletions
|
|
@ -319,7 +319,6 @@ static EGLBoolean
|
|||
haiku_initialize_impl(_EGLDisplay *disp, void *platformDisplay)
|
||||
{
|
||||
struct haiku_egl_display *hgl_dpy;
|
||||
const char *err;
|
||||
|
||||
hgl_dpy =
|
||||
(struct haiku_egl_display *)calloc(1, sizeof(struct haiku_egl_display));
|
||||
|
|
@ -362,10 +361,6 @@ haiku_initialize_impl(_EGLDisplay *disp, void *platformDisplay)
|
|||
haiku_add_configs_for_visuals(disp);
|
||||
|
||||
return EGL_TRUE;
|
||||
|
||||
cleanup:
|
||||
haiku_display_destroy(disp);
|
||||
return _eglError(EGL_NOT_INITIALIZED, err);
|
||||
}
|
||||
|
||||
static EGLBoolean
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue