mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
egl: Silence uninitialized variable warnings.
This commit is contained in:
parent
1fbb50b740
commit
12297f1f98
1 changed files with 1 additions and 1 deletions
|
|
@ -261,7 +261,7 @@ EGLBoolean EGLAPIENTRY
|
|||
eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor)
|
||||
{
|
||||
_EGLDisplay *disp = _eglLockDisplay(dpy);
|
||||
EGLint major_int, minor_int;
|
||||
EGLint major_int = 0, minor_int = 0;
|
||||
|
||||
if (!disp)
|
||||
RETURN_EGL_ERROR(NULL, EGL_BAD_DISPLAY, EGL_FALSE);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue