mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 00:49:04 +02:00
Revert "egl: Unhide functionality in _eglInitSurface()"
This reverts commit 498d10e230.
_eglInitResource can and is supposed to be called on subclass objects.
Acked-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
This commit is contained in:
parent
c593ad6e46
commit
924490a747
1 changed files with 1 additions and 3 deletions
|
|
@ -314,9 +314,7 @@ _eglInitSurface(_EGLSurface *surf, _EGLDisplay *dpy, EGLint type,
|
|||
return EGL_FALSE;
|
||||
}
|
||||
|
||||
|
||||
memset(surf, 0, sizeof(_EGLSurface));
|
||||
_eglInitResource(&surf->Resource, sizeof(_EGLResource), dpy);
|
||||
_eglInitResource(&surf->Resource, sizeof(*surf), dpy);
|
||||
surf->Type = type;
|
||||
surf->Config = conf;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue