egl: Silence uninitialized variable warnings.
This commit is contained in:
parent
1fbb50b740
commit
12297f1f98
|
@ -261,7 +261,7 @@ EGLBoolean EGLAPIENTRY
|
||||||
eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor)
|
eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor)
|
||||||
{
|
{
|
||||||
_EGLDisplay *disp = _eglLockDisplay(dpy);
|
_EGLDisplay *disp = _eglLockDisplay(dpy);
|
||||||
EGLint major_int, minor_int;
|
EGLint major_int = 0, minor_int = 0;
|
||||||
|
|
||||||
if (!disp)
|
if (!disp)
|
||||||
RETURN_EGL_ERROR(NULL, EGL_BAD_DISPLAY, EGL_FALSE);
|
RETURN_EGL_ERROR(NULL, EGL_BAD_DISPLAY, EGL_FALSE);
|
||||||
|
|
Loading…
Reference in New Issue